Skip to content

Commit 88d3439

Browse files
author
Ryan Baxter
committed
Clarify ServiceRegistry documentation. Fixes spring-projects#361.
1 parent b8c6038 commit 88d3439

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/src/main/asciidoc/spring-cloud-commons.adoc

+8
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,14 @@ public class MyConfiguration {
349349

350350
Each `ServiceRegistry` implementation has its own `Registry` implementation.
351351

352+
* `ZookeeperRegistration` used with `ZookeeperServiceRegistry`
353+
* `EurekaRegistration` used with `EurekaServiceRegistry`
354+
* `ConsulRegistration` used with `ConsulServiceRegistry`
355+
356+
If you are using the `ServiceRegistry` interface, you are going to need to pass the
357+
correct `Registry` implementation for the `ServiceRegistry` implementation you
358+
are using.
359+
352360

353361
==== ServiceRegistry Auto-Registration
354362

0 commit comments

Comments
 (0)