Interface ServiceDiscovery


  • public interface ServiceDiscovery
    Interface to retrieve the list of all available service instances for a given service.
    • Method Detail

      • getServiceInstances

        io.smallrye.mutiny.Uni<List<ServiceInstance>> getServiceInstances()
        Retrieves the service instances.

        This retrieval is an asynchronous action, thus, the method returns a Uni

        Returns:
        all `ServiceInstance`'s for the service
      • initialize

        default void initialize​(StorkServiceRegistry stork)
        Optional initialization. This method will be invoked after all service discoveries and load balancers are registered in Stork
        Parameters:
        stork - the stork instance managing the service.