Class EurekaReactiveDiscoveryClient

java.lang.Object
org.springframework.cloud.netflix.eureka.reactive.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
  • 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

    Constructors
    Constructor
    Description
    EurekaReactiveDiscoveryClient(com.netflix.discovery.EurekaClient eurekaClient, com.netflix.discovery.EurekaClientConfig clientConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance>
    getInstances(String serviceId)
     
    int
     
    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

    probe, reactiveProbe
  • Constructor Details

    • EurekaReactiveDiscoveryClient

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

    • 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