Clarify ServiceRegistry documentation. Fixes #361.

This commit is contained in:
Ryan Baxter
2018-06-04 14:11:16 -04:00
parent b8c6038254
commit 88d3439035

View File

@@ -349,6 +349,14 @@ public class MyConfiguration {
Each `ServiceRegistry` implementation has its own `Registry` implementation.
* `ZookeeperRegistration` used with `ZookeeperServiceRegistry`
* `EurekaRegistration` used with `EurekaServiceRegistry`
* `ConsulRegistration` used with `ConsulServiceRegistry`
If you are using the `ServiceRegistry` interface, you are going to need to pass the
correct `Registry` implementation for the `ServiceRegistry` implementation you
are using.
==== ServiceRegistry Auto-Registration