Configuration Reference
Version:3.3.1
Discovery Client Config Properties
🔗Property | Type | Description |
---|---|---|
|
||
|
||
|
java.lang.String |
|
|
||
|
boolean |
|
|
java.lang.String |
|
|
boolean |
|
|
java.nio.charset.Charset |
|
|
java.util.Map |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.lang.Integer |
|
|
java.lang.Class |
|
|
int |
|
|
java.net.Proxy$Type |
|
|
java.net.SocketAddress |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.net.ProxySelector |
|
|
java.lang.String |
Set the Vault Server Uri. Default value ("http://locahost:8200"). |
|
java.lang.String |
Set the Vault authentication token. |
|
Set the version of the Vault Secret engine. V1 or V2. Default value (V2). |
|
|
java.lang.String |
Set the name of the Vault Secret engine name. Default value ("secret"). |
|
java.lang.String |
Set the prefix for the keys used to get vault properties. Default value is empty string |
|
boolean |
If set to true an exception will be thrown if configuration is not found for the application or any of its environments. Default value (false). |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.lang.String |
|
|
Property | Type | Description |
---|---|---|
|
The discovery configuration |
|
|
boolean |
|
|
boolean |
Sets whether the secure port is used for communication. |
Property | Type | Description |
---|---|---|
|
ConsulConfiguration$ConsulRegistrationConfiguration$CheckConfiguration |
The Consul client settings for HTTP check |
|
The HTTP method to be used for an HTTP check. |
|
|
java.time.Duration |
Default value (15). |
|
java.util.Map |
Headers for the HTTP checks |
|
java.time.Duration |
Specifies that checks associated with a service should deregister after this time |
|
java.lang.String |
Arbitrary information for humans |
|
java.lang.String |
The unique ID for this check on the node |
|
java.lang.Boolean |
Specifies if the certificate for an HTTPS check should not be verified. |
|
boolean |
Default value (true). |
|
boolean |
Default value (false). |
Property | Type | Description |
---|---|---|
|
||
|
||
|
java.lang.String |
|
|
||
|
boolean |
|
|
java.lang.String |
|
|
boolean |
|
|
java.nio.charset.Charset |
|
|
java.util.Map |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.lang.Integer |
|
|
java.lang.Class |
|
|
int |
|
|
java.net.Proxy$Type |
|
|
java.net.SocketAddress |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.net.ProxySelector |
|
|
java.lang.String |
Set the Spring Cloud config server uri. Default value ("http://localhost:8888"). |
|
java.lang.String |
Set the Spring Cloud config server label. |
|
boolean |
If set to true an exception will be thrown if configuration is not found. Default value (false). |
|
java.lang.String |
Set the Spring Cloud config server name. |
Property | Type | Description |
---|---|---|
|
||
|
||
|
java.lang.String |
|
|
||
|
boolean |
|
|
java.lang.String |
|
|
boolean |
|
|
java.nio.charset.Charset |
|
|
java.util.Map |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.lang.Integer |
|
|
java.lang.Class |
|
|
int |
|
|
java.net.Proxy$Type |
|
|
java.net.SocketAddress |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.net.ProxySelector |
|
|
boolean |
Whether DNS should be used to resolve the discovery servers. |
|
java.lang.String |
Sets the context path. |
|
java.util.List |
Sets the Discovery servers to use for the default zone. |
|
java.util.Map |
Configures Discovery servers in other zones. |
|
boolean |
Set if the discovery server is exposed over HTTPS |
|
java.lang.String |
The Discovery server host name |
|
int |
The port for the Discovery server |
|
java.lang.String |
The asl token |
|
boolean |
Sets whether the Consul server should be considered for health checks. @see io.micronaut.discovery.consul.health.ConsulHealthIndicator |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
int |
|
|
int |
|
|
java.time.Duration |
Property | Type | Description |
---|---|---|
|
java.lang.String |
|
|
boolean |
|
|
java.time.Duration |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
int |
|
|
java.time.Duration |
|
|
java.lang.String |
|
|
java.util.List |
The tags for registering the service |
|
java.util.Map |
The metadata for registering the service |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.lang.String |
|
|
||
|
java.lang.String |
The datacenter |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
int |
|
|
int |
|
|
java.time.Duration |
Property | Type | Description |
---|---|---|
|
java.lang.String |
|
|
boolean |
|
|
java.time.Duration |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
int |
|
|
java.time.Duration |
|
|
java.lang.String |
|
|
int |
|
|
int |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
||
|
int |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
||
|
||
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
long |
|
|
long |
|
|
long |
|
|
long |
|
|
int |
|
|
int |
Property | Type | Description |
---|---|---|
|
||
|
||
|
java.lang.String |
|
|
||
|
boolean |
|
|
java.lang.String |
|
|
boolean |
|
|
java.nio.charset.Charset |
|
|
java.util.Map |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.time.Duration |
|
|
java.lang.Integer |
|
|
java.lang.Class |
|
|
int |
|
|
java.net.Proxy$Type |
|
|
java.net.SocketAddress |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.net.ProxySelector |
|
|
boolean |
Whether DNS should be used to resolve the discovery servers. |
|
java.lang.String |
Sets the context path. |
|
java.util.List |
Sets the Discovery servers to use for the default zone. |
|
java.util.Map |
Configures Discovery servers in other zones. |
|
boolean |
Set if the discovery server is exposed over HTTPS |
|
java.lang.String |
The Discovery server host name |
|
int |
The port for the Discovery server |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
int |
|
|
int |
|
|
java.time.Duration |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
int |
|
|
int |
|
|
java.time.Duration |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.lang.String |
|
|
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.util.Map |
The tags to use for querying |
|
java.util.Map |
The service ID to protocol scheme |
|
java.util.Map |
The data centers to query |
|
boolean |
Whether services that are not passing health checks should be returned |