Class DiscoveryClient

java.lang.Object
io.micronaut.starter.feature.discovery.DiscoveryClient
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature, OpenRewriteFeature

@Requires(property="micronaut.starter.feature.discovery.client.enabled", value="true", defaultValue="true") @Singleton public class DiscoveryClient extends Object implements OpenRewriteFeature
Feature that adds support for the Micronaut Discovery Client.

This feature adds the `micronaut-discovery-client` dependency, which provides an implementation of the DiscoveryClient API for service discovery capabilities.

It requires an HttpClientFeature and will add one if not already present.