public interface DiscoveryClient extends Closeable, AutoCloseable, Described
Modifier and Type | Method and Description |
---|---|
Publisher<List<ServiceInstance>> |
getInstances(String serviceId)
Obtain a list of
ServiceInstance for the given service id. |
Publisher<List<String>> |
getServiceIds() |
getDescription
@SingleResult Publisher<List<ServiceInstance>> getInstances(String serviceId)
ServiceInstance
for the given service id.serviceId
- The service idPublisher
that emits a list of ServiceInstance
@SingleResult Publisher<List<String>> getServiceIds()