Configuration Reference
Version:5.0.0-SNAPSHOT
Micronaut Discovery Client Config Properties
🔗Property | Type | Description | Default value |
---|---|---|---|
|
|||
|
|||
|
java.lang.String |
||
|
|||
|
boolean |
||
|
boolean |
||
|
java.lang.String |
||
|
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.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.util.List |
||
|
boolean |
||
|
|||
|
java.lang.String |
||
|
java.lang.String |
||
|
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 |
Is the discovery server exposed over HTTPS (defaults to false) |
|
|
java.lang.String |
The Discovery server instance host name. Defaults to 'localhost'. |
|
|
int |
The default Discovery server port |
|
|
boolean |
Sets whether the Consul server should be considered for health checks. |
|
|
java.lang.String |
The token to include in all requests as the {@code X-Consul-Token} header |
Property | Type | Description | Default value |
---|---|---|---|
|
|||
|
|||
|
java.lang.String |
||
|
|||
|
boolean |
||
|
boolean |
||
|
java.lang.String |
||
|
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.time.Duration |
The read timeout, depending on the {@link #maxWaitDuration} value. |
|
|
java.lang.Integer |
||
|
java.lang.Class |
||
|
int |
||
|
java.net.Proxy$Type |
||
|
java.net.SocketAddress |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.net.ProxySelector |
||
|
|||
|
java.util.List |
||
|
boolean |
||
|
|||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
Specify the maximum duration for the blocking request. Default value ("10m"). |
|
|
java.time.Duration |
Sets the delay before each call to avoid flooding. Default value (50 milliseconds). |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
||
|
java.lang.String |
||
|
|||
|
java.lang.String |
The data center name |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
||
|
boolean |
True if only passing services should be returned (defaults to false) |
|
|
java.util.Map |
The tags |
|
|
java.util.Map |
The map to query |
|
|
java.util.Map |
A map of schemes |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
||
|
int |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
int |
||
|
int |
||
|
HttpClientConfiguration$ConnectionPoolConfiguration$ConnectionLocality |
||
|
HttpClientConfiguration$ConnectionPoolConfiguration$PoolVersion |
Property | Type | Description | Default value |
---|---|---|---|
|
java.lang.String |
||
|
boolean |
||
|
java.time.Duration |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
int |
||
|
java.time.Duration |
||
|
java.lang.String |
||
|
java.util.List |
That tags to use for registering the service |
|
|
java.util.Map |
That metadata to use for registering the service |
Property | Type | Description | Default value |
---|---|---|---|
|
java.time.Duration |
Default value (15). |
|
|
boolean |
Default value (false). |
|
|
boolean |
Default value (true). |
|
|
java.time.Duration |
Specifies that checks associated with a service should deregister after this time |
|
|
java.lang.String |
Specifies a unique ID for this check on the node |
|
|
java.lang.String |
Arbitrary information for humans. Not used by Consult |
|
|
java.lang.Boolean |
Specifies if the certificate for an HTTPS check should not be verified |
|
|
Specifies a different HTTP method to be used for an HTTP check. |
||
|
java.util.Map |
Specifies a set of headers that should be set for HTTP checks |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
Sets whether Configuration watching is enabled. Default value (false). |
Property | Type | Description | Default value |
---|---|---|---|
|
|||
|
|||
|
java.lang.String |
||
|
|||
|
boolean |
||
|
boolean |
||
|
java.lang.String |
||
|
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.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.util.List |
||
|
boolean |
||
|
|||
|
java.lang.String |
||
|
java.lang.String |
||
|
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 |
Is the discovery server exposed over HTTPS (defaults to false) |
|
|
java.lang.String |
The Discovery server instance host name. Defaults to 'localhost'. |
|
|
int |
The default Discovery server port |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
||
|
boolean |
Sets whether the secure port is used for communication. |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
||
|
int |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
int |
||
|
int |
||
|
HttpClientConfiguration$ConnectionPoolConfiguration$ConnectionLocality |
||
|
HttpClientConfiguration$ConnectionPoolConfiguration$PoolVersion |
Property | Type | Description | Default value |
---|---|---|---|
|
java.lang.String |
||
|
boolean |
||
|
java.time.Duration |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
int |
||
|
java.time.Duration |
||
|
java.lang.String |
Property | Type | Description | Default value |
---|---|---|---|
|
int |
||
|
int |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
int |
||
|
|||
|
|||
|
|||
|
java.util.Map |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
Property | Type | Description | Default value |
---|---|---|---|
|
int |
||
|
int |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
int |
||
|
|||
|
|||
|
|||
|
java.util.Map |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
java.lang.String |
Property | Type | Description | Default value |
---|---|---|---|
|
long |
||
|
long |
||
|
long |
||
|
long |
||
|
int |
||
|
int |
Property | Type | Description | Default value |
---|---|---|---|
|
|||
|
|||
|
java.lang.String |
||
|
|||
|
boolean |
||
|
boolean |
||
|
java.lang.String |
||
|
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.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.util.List |
||
|
boolean |
||
|
|||
|
java.lang.String |
||
|
java.lang.String |
||
|
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. |
|
|
java.lang.String |
Set the Spring Cloud config server name. |
|
|
java.lang.String |
Set the Spring cloud config username. |
|
|
java.lang.String |
Set the Spring cloud config password. |
|
|
boolean |
If set to true an exception will be thrown if configuration is not found. Default value (false). |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
||
|
java.lang.String |
||
|
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
||
|
int |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
int |
||
|
int |
||
|
HttpClientConfiguration$ConnectionPoolConfiguration$ConnectionLocality |
||
|
HttpClientConfiguration$ConnectionPoolConfiguration$PoolVersion |
Property | Type | Description | Default value |
---|---|---|---|
|
|||
|
|||
|
java.lang.String |
||
|
|||
|
boolean |
||
|
boolean |
||
|
java.lang.String |
||
|
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.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.util.List |
||
|
boolean |
||
|
|||
|
java.lang.String |
||
|
java.lang.String |
||
|
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 | Default value |
---|---|---|---|
|
boolean |
||
|
java.lang.String |
||
|
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
||
|
int |
||
|
java.time.Duration |
||
|
int |
||
|
int |
||
|
int |
||
|
int |
||
|
HttpClientConfiguration$ConnectionPoolConfiguration$ConnectionLocality |
||
|
HttpClientConfiguration$ConnectionPoolConfiguration$PoolVersion |