Class KubernetesReactiveDiscoveryClient
java.lang.Object
org.springframework.cloud.kubernetes.discovery.KubernetesReactiveDiscoveryClient
- All Implemented Interfaces:
org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
,org.springframework.core.Ordered
public class KubernetesReactiveDiscoveryClient
extends Object
implements org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
- Author:
- Ryan Baxter
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Fields inherited from interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
DEFAULT_ORDER, LOG
-
Constructor Summary
ConstructorsConstructorDescriptionKubernetesReactiveDiscoveryClient
(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, KubernetesDiscoveryClientProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance>
getInstances
(String serviceId) reactor.core.publisher.Flux<String>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
getOrder, probe, reactiveProbe
-
Constructor Details
-
KubernetesReactiveDiscoveryClient
public KubernetesReactiveDiscoveryClient(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, KubernetesDiscoveryClientProperties properties)
-
-
Method Details
-
description
- Specified by:
description
in interfaceorg.springframework.cloud.client.discovery.ReactiveDiscoveryClient
-
getInstances
@Cacheable("serviceinstances") public reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId) - Specified by:
getInstances
in interfaceorg.springframework.cloud.client.discovery.ReactiveDiscoveryClient
-
getServices
- Specified by:
getServices
in interfaceorg.springframework.cloud.client.discovery.ReactiveDiscoveryClient
-