Class EurekaReactiveDiscoveryClient

  • All Implemented Interfaces:
    org.springframework.cloud.client.discovery.ReactiveDiscoveryClient, org.springframework.core.Ordered

    public class EurekaReactiveDiscoveryClient
    extends Object
    implements org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
    A ReactiveDiscoveryClient implementation for Eureka.
    Author:
    Tim Ysewyn
    • Constructor Detail

      • EurekaReactiveDiscoveryClient

        public EurekaReactiveDiscoveryClient​(com.netflix.discovery.EurekaClient eurekaClient,
                                             com.netflix.discovery.EurekaClientConfig clientConfig)
    • Method Detail

      • description

        public String description()
        Specified by:
        description in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
      • getInstances

        public reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> getInstances​(String serviceId)
        Specified by:
        getInstances in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
      • getServices

        public reactor.core.publisher.Flux<String> getServices()
        Specified by:
        getServices in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
        Specified by:
        getOrder in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient