diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc index c38b3fc8..79cff1fa 100644 --- a/docs/src/main/asciidoc/_configprops.adoc +++ b/docs/src/main/asciidoc/_configprops.adoc @@ -4,6 +4,12 @@ |spring.cloud.zookeeper.base-sleep-time-ms | `50` | Initial amount of time to wait between retries. |spring.cloud.zookeeper.block-until-connected-unit | | The unit of time related to blocking on connection to Zookeeper. |spring.cloud.zookeeper.block-until-connected-wait | `10` | Wait time to block on connection to Zookeeper. +|spring.cloud.zookeeper.config.default-context | `application` | The name of the default context. +|spring.cloud.zookeeper.config.enabled | `true` | +|spring.cloud.zookeeper.config.fail-fast | `true` | Throw exceptions during config lookup if true, otherwise, log warnings. +|spring.cloud.zookeeper.config.name | | Alternative to spring.application.name to use in looking up values in zookeeper. +|spring.cloud.zookeeper.config.profile-separator | `,` | Separator for profile appended to the application name. +|spring.cloud.zookeeper.config.root | `config` | Root folder where the configuration for Zookeeper is kept. |spring.cloud.zookeeper.connect-string | `localhost:2181` | Connection string to the Zookeeper cluster. |spring.cloud.zookeeper.connection-timeout | | The configured connection timeout in milliseconds. |spring.cloud.zookeeper.dependencies | | Mapping of alias to ZookeeperDependency. From LoadBalancer perspective the alias is actually serviceID since SC LoadBalancer can't accept nested structures in serviceID. diff --git a/docs/src/main/asciidoc/spring-cloud-zookeeper.adoc b/docs/src/main/asciidoc/spring-cloud-zookeeper.adoc index ef330e78..7497938b 100644 --- a/docs/src/main/asciidoc/spring-cloud-zookeeper.adoc +++ b/docs/src/main/asciidoc/spring-cloud-zookeeper.adoc @@ -173,6 +173,9 @@ Spring Cloud Zookeeper provides an implementation of Spring Cloud LoadBalancer ` When you use the `spring-cloud-starter-zookeeper-discovery`, Spring Cloud LoadBalancer is autoconfigured to use the `ZookeeperServiceInstanceListSupplier` by default. +TIP: If you were previously using the StickyRule in Zookeeper, its replacement in the current stack +is the `SameInstancePreferenceServiceInstanceListSupplier` in SC LoadBalancer. You can read on how to set it up in the https://docs.spring.io/spring-cloud-commons/docs/current/reference/html/#spring-cloud-loadbalancer[Spring Cloud Commons documentation]. + [[spring-cloud-zookeeper-service-registry]] == Spring Cloud Zookeeper and Service Registry