public class ZookeeperReactiveDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
ReactiveDiscoveryClient. Capable of resolving aliases from
ZookeeperDependencies to service names in Zookeeper.| Constructor and Description |
|---|
ZookeeperReactiveDiscoveryClient(org.apache.curator.x.discovery.ServiceDiscovery<ZookeeperInstance> serviceDiscovery,
ZookeeperDependencies zookeeperDependencies,
ZookeeperDiscoveryProperties zookeeperDiscoveryProperties) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
int |
getOrder() |
reactor.core.publisher.Flux<String> |
getServices() |
public ZookeeperReactiveDiscoveryClient(org.apache.curator.x.discovery.ServiceDiscovery<ZookeeperInstance> serviceDiscovery, ZookeeperDependencies zookeeperDependencies, ZookeeperDiscoveryProperties zookeeperDiscoveryProperties)
public String description()
description in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientpublic reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId)
getInstances in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientpublic reactor.core.publisher.Flux<String> getServices()
getServices in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientpublic int getOrder()
getOrder in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientgetOrder in interface org.springframework.core.OrderedCopyright © 2022 Pivotal Software, Inc.. All rights reserved.