Class ZookeeperServiceInstanceListSupplier

java.lang.Object
org.springframework.cloud.zookeeper.discovery.ZookeeperServiceInstanceListSupplier
All Implemented Interfaces:
Supplier<reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>>>, org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier

public class ZookeeperServiceInstanceListSupplier extends Object implements org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier
A ServiceInstanceListSupplier implementation that filters available instances based on status retrieved from Zookeeper.
Since:
3.0.0
Author:
Olga Maciaszek-Sharma
  • Constructor Details

    • ZookeeperServiceInstanceListSupplier

      public ZookeeperServiceInstanceListSupplier(org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier delegate, ZookeeperDependencies zookeeperDependencies)
  • Method Details

    • getServiceId

      public String getServiceId()
      Specified by:
      getServiceId in interface org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier
    • get

      public reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>> get()
      Specified by:
      get in interface Supplier<reactor.core.publisher.Flux<List<org.springframework.cloud.client.ServiceInstance>>>