Configuration options

Table 1. Optional configuration options
key type default value description

cache

io.helidon.discovery.providers.eureka.EurekaDiscoveryConfigBlueprint.create()

The CacheConfig to use controlling how a local cache of Eureka server information is used.

See CacheConfig

client

Http1Client

 

The Http1Client to use to communicate with the Eureka server. To be useful, the client must have a io.helidon.webclient.http1.Http1ClientConfig prototype whose io.helidon.webclient.http1.Http1ClientConfig.Builder.baseUri(io.helidon.webclient.api.ClientUri) property is set to the endpoint of a Eureka Server instance. Often this value will be something like {@code http://example.com:8761/eureka}.

See Http1Client

See io.helidon.webclient.http1.Http1ClientConfig.Builder.baseUri(io.helidon.webclient.api.ClientUri)

prefer-ip-address

boolean

 

Whether the <dfn>host</dfn> component of any java.net.URI URI should be set to the IP address stored by Eureka, or the hostname; false by default.