Feign、Spring Cloud Gateway 和 Spring Cloud LoadBalancer 都可以与 Spring Cloud Zookeeper 配合使用。Spring中文文档

带有 Zookeeper 的 Spring Cloud LoadBalancer

Spring Cloud Zookeeper 提供了 Spring Cloud LoadBalancer 的实现。 当您使用 时,Spring Cloud LoadBalancer 会自动配置为默认使用 。ServiceInstanceListSupplierspring-cloud-starter-zookeeper-discoveryZookeeperServiceInstanceListSupplierSpring中文文档

如果您以前在 Zookeeper 中使用 StickyRule,则在当前堆栈中将其替换 是 SC LoadBalancer 中的。您可以在 Spring Cloud Commons 文档中阅读有关如何设置它的信息。SameInstancePreferenceServiceInstanceListSupplier
如果您以前在 Zookeeper 中使用 StickyRule,则在当前堆栈中将其替换 是 SC LoadBalancer 中的。您可以在 Spring Cloud Commons 文档中阅读有关如何设置它的信息。SameInstancePreferenceServiceInstanceListSupplier