* Updates maven to 3.9.0 * Migrate Structure * Insert explicit ids for headers * Remove unnecessary asciidoc attributes * Copy default antora files * Fix indentation for all pages * Split files * Generate a default navigation * Remove includes * Fix cross references * Enable Section Summary TOC for small pages * More antora customization
17 lines
957 B
Plaintext
17 lines
957 B
Plaintext
[[spring-cloud-zookeeper-other-componentes]]
|
|
= Using Spring Cloud Zookeeper with Spring Cloud Components
|
|
:page-section-summary-toc: 1
|
|
|
|
Feign, Spring Cloud Gateway and Spring Cloud LoadBalancer all work with Spring Cloud Zookeeper.
|
|
|
|
[[spring-cloud-loadbalancer-with-zookeeper]]
|
|
== Spring Cloud LoadBalancer with Zookeeper
|
|
|
|
Spring Cloud Zookeeper provides an implementation of Spring Cloud LoadBalancer `ServiceInstanceListSupplier`.
|
|
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].
|
|
|