Configuration Reference

Version:1.3.0.BUILD-SNAPSHOT

Discovery Client Config Properties

🔗
Table 1. Configuration Properties for EurekaConfiguration
Property Type Description

eureka.client.ssl-configuration

SslConfiguration

eureka.client.logger-name

java.lang.String

eureka.client.follow-redirects

boolean

eureka.client.default-charset

java.nio.charset.Charset

eureka.client.channel-options

java.util.Map

eureka.client.shutdown-timeout

java.time.Duration

eureka.client.read-timeout

java.time.Duration

eureka.client.read-idle-timeout

java.time.Duration

eureka.client.connect-timeout

java.time.Duration

eureka.client.connect-ttl

java.time.Duration

eureka.client.num-of-threads

java.lang.Integer

eureka.client.thread-factory

java.lang.Class

eureka.client.max-content-length

int

eureka.client.proxy-type

java.net.Proxy$Type

eureka.client.proxy-address

java.net.SocketAddress

eureka.client.proxy-username

java.lang.String

eureka.client.proxy-password

java.lang.String

eureka.client.proxy-selector

java.net.ProxySelector

eureka.client.should-use-dns

boolean

Whether DNS should be used to resolve the discovery servers.

eureka.client.context-path

java.lang.String

Sets the context path.

eureka.client.default-zone

java.util.List

Sets the Discovery servers to use for the default zone.

eureka.client.zones

java.util.Map

Configures Discovery servers in other zones.

eureka.client.secure

boolean

Set if the discovery server is exposed over HTTPS

eureka.client.host

java.lang.String

The Discovery server host name

eureka.client.port

int

The port for the Discovery server

🔗
Table 2. Configuration Properties for ConsulConfiguration$ConsulRegistrationConfiguration$CheckConfiguration
Property Type Description

consul.client.registration.check.method

HttpMethod

The HTTP method to be used for an HTTP check.

consul.client.registration.check.interval

java.time.Duration

Default value (15).

consul.client.registration.check.headers

java.util.Map

Headers for the HTTP checks

consul.client.registration.check.deregister-critical-service-after

java.time.Duration

Specifies that checks associated with a service should deregister after this time

consul.client.registration.check.notes

java.lang.String

Arbitrary information for humans

consul.client.registration.check.id

java.lang.String

The unique ID for this check on the node

consul.client.registration.check.tls-skip-verify

java.lang.Boolean

Specifies if the certificate for an HTTPS check should not be verified.

consul.client.registration.check.enabled

boolean

Default value (true).

consul.client.registration.check.http

boolean

Default value (false).

🔗
Table 3. Configuration Properties for VaultClientConfiguration$VaultClientConnectionPoolConfiguration
Property Type Description

vault.client.pool.enabled

boolean

vault.client.pool.max-connections

int

vault.client.pool.max-pending-acquires

int

vault.client.pool.acquire-timeout

java.time.Duration

🔗
Table 4. Configuration Properties for SpringCloudClientConfiguration$SpringConfigDiscoveryConfiguration
Property Type Description

spring.cloud.config.config.enabled

boolean

spring.cloud.config.config.path

java.lang.String

spring.cloud.config.config.format

ConfigDiscoveryConfiguration$Format

🔗
Table 5. Configuration Properties for Route53ClientDiscoveryConfiguration
Property Type Description

aws.route53.discovery.client.aws-service-id

java.lang.String

set service id for easier testing.

aws.route53.discovery.client.namespace-id

java.lang.String

allows you to override the namespace id for testing.

aws.route53.discovery.client.ssl-configuration

SslConfiguration

aws.route53.discovery.client.logger-name

java.lang.String

aws.route53.discovery.client.follow-redirects

boolean

aws.route53.discovery.client.default-charset

java.nio.charset.Charset

aws.route53.discovery.client.channel-options

java.util.Map

aws.route53.discovery.client.shutdown-timeout

java.time.Duration

aws.route53.discovery.client.read-timeout

java.time.Duration

aws.route53.discovery.client.read-idle-timeout

java.time.Duration

aws.route53.discovery.client.connect-timeout

java.time.Duration

aws.route53.discovery.client.connect-ttl

java.time.Duration

aws.route53.discovery.client.num-of-threads

java.lang.Integer

aws.route53.discovery.client.thread-factory

java.lang.Class

aws.route53.discovery.client.max-content-length

int

aws.route53.discovery.client.proxy-type

java.net.Proxy$Type

aws.route53.discovery.client.proxy-address

java.net.SocketAddress

aws.route53.discovery.client.proxy-username

java.lang.String

aws.route53.discovery.client.proxy-password

java.lang.String

aws.route53.discovery.client.proxy-selector

java.net.ProxySelector

aws.route53.discovery.client.should-use-dns

boolean

Whether DNS should be used to resolve the discovery servers.

aws.route53.discovery.client.context-path

java.lang.String

Sets the context path.

aws.route53.discovery.client.default-zone

java.util.List

Sets the Discovery servers to use for the default zone.

aws.route53.discovery.client.zones

java.util.Map

Configures Discovery servers in other zones.

aws.route53.discovery.client.secure

boolean

Set if the discovery server is exposed over HTTPS

aws.route53.discovery.client.host

java.lang.String

The Discovery server host name

aws.route53.discovery.client.port

int

The port for the Discovery server

🔗
Table 6. Configuration Properties for ConsulConfiguration
Property Type Description

consul.client.asl-token

java.lang.String

The asl token

consul.client.health-check

boolean

Sets whether the Consul server should be considered for health checks. @see io.micronaut.discovery.consul.health.ConsulHealthIndicator

consul.client.ssl-configuration

SslConfiguration

consul.client.logger-name

java.lang.String

consul.client.follow-redirects

boolean

consul.client.default-charset

java.nio.charset.Charset

consul.client.channel-options

java.util.Map

consul.client.shutdown-timeout

java.time.Duration

consul.client.read-timeout

java.time.Duration

consul.client.read-idle-timeout

java.time.Duration

consul.client.connect-timeout

java.time.Duration

consul.client.connect-ttl

java.time.Duration

consul.client.num-of-threads

java.lang.Integer

consul.client.thread-factory

java.lang.Class

consul.client.max-content-length

int

consul.client.proxy-type

java.net.Proxy$Type

consul.client.proxy-address

java.net.SocketAddress

consul.client.proxy-username

java.lang.String

consul.client.proxy-password

java.lang.String

consul.client.proxy-selector

java.net.ProxySelector

consul.client.should-use-dns

boolean

Whether DNS should be used to resolve the discovery servers.

consul.client.context-path

java.lang.String

Sets the context path.

consul.client.default-zone

java.util.List

Sets the Discovery servers to use for the default zone.

consul.client.zones

java.util.Map

Configures Discovery servers in other zones.

consul.client.secure

boolean

Set if the discovery server is exposed over HTTPS

consul.client.host

java.lang.String

The Discovery server host name

consul.client.port

int

The port for the Discovery server

🔗
Table 7. Configuration Properties for SpringCloudClientConfiguration
Property Type Description

spring.cloud.config.uri

java.lang.String

Set the Spring Cloud config server uri. Default value ("http://localhost:8888").

spring.cloud.config.label

java.lang.String

Set the Spring Cloud config server label.

spring.cloud.config.fail-fast

boolean

If set to true an exception will be thrown if configuration is not found. Default value (false).

spring.cloud.config.ssl-configuration

SslConfiguration

spring.cloud.config.logger-name

java.lang.String

spring.cloud.config.follow-redirects

boolean

spring.cloud.config.default-charset

java.nio.charset.Charset

spring.cloud.config.channel-options

java.util.Map

spring.cloud.config.shutdown-timeout

java.time.Duration

spring.cloud.config.read-timeout

java.time.Duration

spring.cloud.config.read-idle-timeout

java.time.Duration

spring.cloud.config.connect-timeout

java.time.Duration

spring.cloud.config.connect-ttl

java.time.Duration

spring.cloud.config.num-of-threads

java.lang.Integer

spring.cloud.config.thread-factory

java.lang.Class

spring.cloud.config.max-content-length

int

spring.cloud.config.proxy-type

java.net.Proxy$Type

spring.cloud.config.proxy-address

java.net.SocketAddress

spring.cloud.config.proxy-username

java.lang.String

spring.cloud.config.proxy-password

java.lang.String

spring.cloud.config.proxy-selector

java.net.ProxySelector

🔗
Table 8. Configuration Properties for EurekaConfiguration$EurekaConnectionPoolConfiguration
Property Type Description

eureka.client.pool.enabled

boolean

eureka.client.pool.max-connections

int

eureka.client.pool.max-pending-acquires

int

eureka.client.pool.acquire-timeout

java.time.Duration

🔗
Table 9. Configuration Properties for ConsulConfiguration$ConsulConfigDiscoveryConfiguration
Property Type Description

consul.client.config.datacenter

java.lang.String

The datacenter

consul.client.config.enabled

boolean

consul.client.config.path

java.lang.String

consul.client.config.format

ConfigDiscoveryConfiguration$Format

🔗
Table 10. Configuration Properties for Route53DiscoveryConfiguration
Property Type Description

aws.route53.discovery.aws-service-id

java.lang.String

set service ID for easier testing.

aws.route53.discovery.enabled

boolean

enable/disabled this feature. Default value (true).

🔗
Table 11. Configuration Properties for ConsulConfiguration$ConsulRegistrationConfiguration
Property Type Description

consul.client.registration.tags

java.util.List

The tags for registering the service

consul.client.registration.ip-addr

java.lang.String

consul.client.registration.prefer-ip-address

boolean

consul.client.registration.timeout

java.time.Duration

consul.client.registration.fail-fast

boolean

consul.client.registration.deregister

boolean

consul.client.registration.enabled

boolean

consul.client.registration.retry-count

int

consul.client.registration.retry-delay

java.time.Duration

consul.client.registration.health-path

java.lang.String

🔗
Table 12. Configuration Properties for DiscoveryClientCacheConfiguration
Property Type Description

micronaut.caches.discovery-client.charset

java.nio.charset.Charset

micronaut.caches.discovery-client.enabled

boolean

Enable or disable the discovery client

micronaut.caches.discovery-client.initial-capacity

java.lang.Integer

micronaut.caches.discovery-client.maximum-size

java.lang.Long

micronaut.caches.discovery-client.maximum-weight

java.lang.Long

micronaut.caches.discovery-client.expire-after-write

java.time.Duration

micronaut.caches.discovery-client.expire-after-access

java.time.Duration

micronaut.caches.discovery-client.record-stats

boolean

micronaut.caches.discovery-client.test-mode

boolean

🔗
Table 13. Configuration Properties for AWSParameterStoreConfiguration
Property Type Description

aws.client.system-manager.parameterstore.use-secure-parameters

boolean

Use auto-decryption via MKS for SecureString parameters. Default value ({@value DEFAULT_SECURE}). If set to false, you will not get unencrypted values.

aws.client.system-manager.parameterstore.root-hierarchy-path

java.lang.String

The the root hierarchy on the parameter store. Default value ("/" + PREFIX + "/").

aws.client.system-manager.parameterstore.enabled

boolean

Enable or disable distributed configuration with AWS Parameter Store. Default value (false).

🔗
Table 14. Configuration Properties for ConsulConfiguration$ConsulDiscoveryConfiguration
Property Type Description

consul.client.discovery.tags

java.util.Map

The tags to use for querying

consul.client.discovery.schemes

java.util.Map

The service ID to protocol scheme

consul.client.discovery.datacenters

java.util.Map

The data centers to query

consul.client.discovery.passing

boolean

Whether services that are not passing health checks should be returned

consul.client.discovery.enabled

boolean

🔗
Table 15. Configuration Properties for EurekaConfiguration$EurekaRegistrationConfiguration
Property Type Description

eureka.client.registration.secure-port

int

eureka.client.registration.port

int

eureka.client.registration.instance-id

java.lang.String

eureka.client.registration.asg-name

java.lang.String

eureka.client.registration.home-page-url

java.lang.String

eureka.client.registration.lease-info

LeaseInfo

eureka.client.registration.country-id

int

eureka.client.registration.status-page-url

java.lang.String

eureka.client.registration.health-check-url

java.lang.String

eureka.client.registration.secure-health-check-url

java.lang.String

eureka.client.registration.data-center-info

DataCenterInfo

eureka.client.registration.status

InstanceInfo$Status

eureka.client.registration.app-group-name

java.lang.String

eureka.client.registration.ip-addr

java.lang.String

eureka.client.registration.vip-address

java.lang.String

eureka.client.registration.secure-vip-address

java.lang.String

eureka.client.registration.metadata

java.util.Map

eureka.client.registration.lease-info.registration-timestamp

long

eureka.client.registration.lease-info.renewal-timestamp

long

eureka.client.registration.lease-info.eviction-timestamp

long

eureka.client.registration.lease-info.service-up-timestamp

long

eureka.client.registration.lease-info.duration-in-secs

int

eureka.client.registration.lease-info.renewal-interval-in-secs

int

eureka.client.registration.prefer-ip-address

boolean

eureka.client.registration.timeout

java.time.Duration

eureka.client.registration.fail-fast

boolean

eureka.client.registration.deregister

boolean

eureka.client.registration.enabled

boolean

eureka.client.registration.retry-count

int

eureka.client.registration.retry-delay

java.time.Duration

eureka.client.registration.health-path

java.lang.String

🔗
Table 16. Configuration Properties for EurekaConfiguration$EurekaDiscoveryConfiguration
Property Type Description

eureka.client.discovery.use-secure-port

boolean

Sets whether the secure port is used for communication.

eureka.client.discovery.enabled

boolean

🔗
Table 17. Configuration Properties for Route53AutoRegistrationConfiguration
Property Type Description

aws.route53.registration.aws-service-id

java.lang.String

Setting for service id to make easier testing.

aws.route53.registration.ip-addr

java.lang.String

aws.route53.registration.prefer-ip-address

boolean

aws.route53.registration.timeout

java.time.Duration

aws.route53.registration.fail-fast

boolean

aws.route53.registration.deregister

boolean

aws.route53.registration.enabled

boolean

aws.route53.registration.retry-count

int

aws.route53.registration.retry-delay

java.time.Duration

aws.route53.registration.health-path

java.lang.String

🔗
Table 18. Configuration Properties for SpringCloudClientConfiguration$SpringCloudConnectionPoolConfiguration
Property Type Description

spring.cloud.config.pool.enabled

boolean

spring.cloud.config.pool.max-connections

int

spring.cloud.config.pool.max-pending-acquires

int

spring.cloud.config.pool.acquire-timeout

java.time.Duration

🔗
Table 19. Configuration Properties for VaultClientConfiguration
Property Type Description

vault.client.uri

java.lang.String

Set the Vault Server Uri. Default value ("http://locahost:8200").

vault.client.token

java.lang.String

Set the Vault authentication token.

vault.client.kv-version

VaultClientConfiguration$VaultKvVersion

Set the version of the Vault Secret engine. V1 or V2. Default value (V2).

vault.client.secret-engine-name

java.lang.String

Set the name of the Vault Secret engine name. Default value ("secret").

vault.client.fail-fast

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).

vault.client.ssl-configuration

SslConfiguration

vault.client.logger-name

java.lang.String

vault.client.follow-redirects

boolean

vault.client.default-charset

java.nio.charset.Charset

vault.client.channel-options

java.util.Map

vault.client.shutdown-timeout

java.time.Duration

vault.client.read-timeout

java.time.Duration

vault.client.read-idle-timeout

java.time.Duration

vault.client.connect-timeout

java.time.Duration

vault.client.connect-ttl

java.time.Duration

vault.client.num-of-threads

java.lang.Integer

vault.client.thread-factory

java.lang.Class

vault.client.max-content-length

int

vault.client.proxy-type

java.net.Proxy$Type

vault.client.proxy-address

java.net.SocketAddress

vault.client.proxy-username

java.lang.String

vault.client.proxy-password

java.lang.String

vault.client.proxy-selector

java.net.ProxySelector

🔗
Table 20. Configuration Properties for VaultClientConfiguration$VaultClientDiscoveryConfiguration
Property Type Description

vault.client.config.enabled

boolean

vault.client.config.path

java.lang.String

vault.client.config.format

ConfigDiscoveryConfiguration$Format

🔗
Table 21. Configuration Properties for ConsulConfiguration$ConsulConnectionPoolConfiguration
Property Type Description

consul.client.pool.enabled

boolean

consul.client.pool.max-connections

int

consul.client.pool.max-pending-acquires

int

consul.client.pool.acquire-timeout

java.time.Duration

Function Client Config Properties

🔗
Table 22. Configuration Properties for AWSInvokeRequestDefinition
Property Type Description

aws.lambda.functions.*.function-name

java.lang.String

aws.lambda.functions.*.invocation-type

java.lang.String

aws.lambda.functions.*.log-type

java.lang.String

aws.lambda.functions.*.client-context

java.lang.String

aws.lambda.functions.*.payload

java.nio.ByteBuffer

aws.lambda.functions.*.qualifier

java.lang.String

aws.lambda.functions.*.request-credentials-provider

com.amazonaws.auth.AWSCredentialsProvider

aws.lambda.functions.*.request-metric-collector

com.amazonaws.metrics.RequestMetricCollector

aws.lambda.functions.*.general-progress-listener

com.amazonaws.event.ProgressListener

aws.lambda.functions.*.sdk-request-timeout

int

aws.lambda.functions.*.sdk-client-execution-timeout

int

🔗
Table 23. Configuration Properties for AWSLambdaConfiguration
Property Type Description

aws.lambda.executor-factory

com.amazonaws.client.builder.ExecutorFactory

aws.lambda.credentials

com.amazonaws.auth.AWSCredentialsProvider

aws.lambda.client-configuration

com.amazonaws.ClientConfiguration

aws.lambda.metrics-collector

com.amazonaws.metrics.RequestMetricCollector

aws.lambda.region

com.amazonaws.regions.Regions

aws.lambda.endpoint-configuration

com.amazonaws.client.builder.AwsClientBuilder$EndpointConfiguration

aws.lambda.request-handlers

com.amazonaws.handlers.RequestHandler2[]

aws.lambda.monitoring-listener

com.amazonaws.monitoring.MonitoringListener

aws.lambda.client-side-monitoring-configuration-provider

com.amazonaws.monitoring.CsmConfigurationProvider

Http Client Config Properties

🔗
Table 24. Configuration Properties for ServiceHttpClientConfiguration$ServiceSslClientConfiguration$DefaultKeyConfiguration
Property Type Description

micronaut.http.services.*.ssl.key

SslConfiguration$KeyConfiguration

micronaut.http.services.*.ssl.key.password

java.lang.String

micronaut.http.services.*.ssl.key.alias

java.lang.String

🔗
Table 25. Configuration Properties for ServiceHttpClientConfiguration$ServiceConnectionPoolConfiguration
Property Type Description

micronaut.http.services.*.pool.enabled

boolean

Sets whether connection pooling is enabled. Default value (false).

micronaut.http.services.*.pool.max-connections

int

Sets the maximum number of connections. Defaults to no maximum.

micronaut.http.services.*.pool.max-pending-acquires

int

Sets the max pending acquires.

micronaut.http.services.*.pool.acquire-timeout

java.time.Duration

Sets the timeout to wait for a connection.

🔗
Table 26. Configuration Properties for ServiceHttpClientConfiguration$ServiceSslClientConfiguration
Property Type Description

micronaut.http.services.*.ssl-configuration

SslConfiguration

Sets the SSL configuration for the client.

micronaut.http.services.*.ssl.enabled

boolean

micronaut.http.services.*.ssl.port

int

micronaut.http.services.*.ssl.build-self-signed

boolean

micronaut.http.services.*.ssl.client-authentication

ClientAuthentication

micronaut.http.services.*.ssl.ciphers

java.lang.String[]

micronaut.http.services.*.ssl.protocols

java.lang.String[]

micronaut.http.services.*.ssl.protocol

java.lang.String

🔗
Table 27. Configuration Properties for DefaultClientVersioningConfiguration
Property Type Description

micronaut.http.client.versioning.default.headers

java.util.List

The list of request header names.

micronaut.http.client.versioning.default.parameters

java.util.List

The list of request query parameter names.

🔗
Table 28. Configuration Properties for ServiceHttpClientConfiguration$ServiceSslClientConfiguration$DefaultTrustStoreConfiguration
Property Type Description

micronaut.http.services.*.ssl.trust-store

SslConfiguration$TrustStoreConfiguration

micronaut.http.services.*.ssl.trust-store.path

java.lang.String

micronaut.http.services.*.ssl.trust-store.password

java.lang.String

micronaut.http.services.*.ssl.trust-store.type

java.lang.String

micronaut.http.services.*.ssl.trust-store.provider

java.lang.String

🔗
Table 29. Configuration Properties for ServiceHttpClientConfiguration$ServiceSslClientConfiguration$DefaultKeyStoreConfiguration
Property Type Description

micronaut.http.services.*.ssl.key-store

SslConfiguration$KeyStoreConfiguration

micronaut.http.services.*.ssl.key-store.path

java.lang.String

micronaut.http.services.*.ssl.key-store.password

java.lang.String

micronaut.http.services.*.ssl.key-store.type

java.lang.String

micronaut.http.services.*.ssl.key-store.provider

java.lang.String

🔗
Table 30. Configuration Properties for NamedClientVersioningConfiguration
Property Type Description

micronaut.http.client.versioning.*.headers

java.util.List

The list of request header names.

micronaut.http.client.versioning.*.parameters

java.util.List

The list of request query parameter names.

🔗
Table 31. Configuration Properties for DefaultHttpClientConfiguration
Property Type Description

micronaut.http.client.ssl-configuration

SslConfiguration

Sets the SSL configuration for the client.

micronaut.http.client.logger-name

java.lang.String

Sets the client-specific logger name.

micronaut.http.client.follow-redirects

boolean

Sets whether redirects should be followed. Default value (DEFAULT_FOLLOW_REDIRECTS).

micronaut.http.client.default-charset

java.nio.charset.Charset

Sets the default charset to use. Default value (UTF-8);

micronaut.http.client.channel-options

java.util.Map

The Netty channel options

micronaut.http.client.shutdown-timeout

java.time.Duration

Sets the amount of time to wait for shutdown of client thread pools. Default value (100 milliseconds).

micronaut.http.client.read-timeout

java.time.Duration

Sets the read timeout. Default value (10 seconds).

micronaut.http.client.read-idle-timeout

java.time.Duration

Sets the max read idle time for streaming requests. Default value (5 seconds).

micronaut.http.client.connect-timeout

java.time.Duration

Sets the connect timeout.

micronaut.http.client.connect-ttl

java.time.Duration

Sets the connect timeout.

micronaut.http.client.num-of-threads

java.lang.Integer

Sets the number of threads the client should use for requests.

micronaut.http.client.thread-factory

java.lang.Class

Sets a thread factory.

micronaut.http.client.max-content-length

int

Sets the maximum content length the client can consume. Default value (1024 * 1024 * 10 ⇒ 10MB).

micronaut.http.client.proxy-type

java.net.Proxy$Type

The proxy type

micronaut.http.client.proxy-address

java.net.SocketAddress

Sets a proxy address.

micronaut.http.client.proxy-username

java.lang.String

Sets the proxy user name to use.

micronaut.http.client.proxy-password

java.lang.String

Sets the proxy password.

micronaut.http.client.proxy-selector

java.net.ProxySelector

Sets the proxy selector. ProxySelector decides what proxy to use and take precedence over {@link #setProxyAddress(SocketAddress)} and {@link #setProxyType(Proxy.Type)}.

🔗
Table 32. Configuration Properties for DefaultHttpClientConfiguration$DefaultConnectionPoolConfiguration
Property Type Description

micronaut.http.client.pool.enabled

boolean

Sets whether connection pooling is enabled. Default value (false).

micronaut.http.client.pool.max-connections

int

Sets the maximum number of connections. Defaults to no maximum.

micronaut.http.client.pool.max-pending-acquires

int

Sets the max pending acquires.

micronaut.http.client.pool.acquire-timeout

java.time.Duration

Sets the timeout to wait for a connection.

🔗
Table 33. Configuration Properties for ServiceHttpClientConfiguration
Property Type Description

micronaut.http.services.*.urls

java.util.List

Sets the URIs of the service.

micronaut.http.services.*.health-check-uri

java.lang.String

Sets the health check URI. Default value ("/health").

micronaut.http.services.*.health-check

boolean

Sets whether the service health should be checked. Default value (false).

micronaut.http.services.*.health-check-interval

java.time.Duration

Sets the default duration to check health status. Default value (30 seconds).

micronaut.http.services.*.path

java.lang.String

Sets the context path to use for requests.

micronaut.http.services.*.logger-name

java.lang.String

Sets the client-specific logger name.

micronaut.http.services.*.follow-redirects

boolean

Sets whether redirects should be followed. Default value (DEFAULT_FOLLOW_REDIRECTS).

micronaut.http.services.*.default-charset

java.nio.charset.Charset

Sets the default charset to use. Default value (UTF-8);

micronaut.http.services.*.channel-options

java.util.Map

The Netty channel options

micronaut.http.services.*.shutdown-timeout

java.time.Duration

Sets the amount of time to wait for shutdown of client thread pools. Default value (100 milliseconds).

micronaut.http.services.*.read-timeout

java.time.Duration

Sets the read timeout. Default value (10 seconds).

micronaut.http.services.*.read-idle-timeout

java.time.Duration

Sets the max read idle time for streaming requests. Default value (5 seconds).

micronaut.http.services.*.connect-timeout

java.time.Duration

Sets the connect timeout.

micronaut.http.services.*.connect-ttl

java.time.Duration

Sets the connect timeout.

micronaut.http.services.*.num-of-threads

java.lang.Integer

Sets the number of threads the client should use for requests.

micronaut.http.services.*.thread-factory

java.lang.Class

Sets a thread factory.

micronaut.http.services.*.max-content-length

int

Sets the maximum content length the client can consume. Default value (1024 * 1024 * 10 ⇒ 10MB).

micronaut.http.services.*.proxy-type

java.net.Proxy$Type

The proxy type

micronaut.http.services.*.proxy-address

java.net.SocketAddress

Sets a proxy address.

micronaut.http.services.*.proxy-username

java.lang.String

Sets the proxy user name to use.

micronaut.http.services.*.proxy-password

java.lang.String

Sets the proxy password.

micronaut.http.services.*.proxy-selector

java.net.ProxySelector

Sets the proxy selector. ProxySelector decides what proxy to use and take precedence over {@link #setProxyAddress(SocketAddress)} and {@link #setProxyType(Proxy.Type)}.

micronaut.http.services.*.url

java.net.URI

Sets the URL of the service.

Http Config Properties

🔗
Table 34. Configuration Properties for DefaultSslConfiguration$DefaultKeyConfiguration
Property Type Description

micronaut.ssl.key

SslConfiguration$KeyConfiguration

Sets the key configuration.

micronaut.ssl.key.password

java.lang.String

Sets the password.

micronaut.ssl.key.alias

java.lang.String

Sets the alias.

🔗
Table 35. Configuration Properties for CodecConfiguration
Property Type Description

micronaut.codec.*.additional-types

java.util.List

Default value (Empty list).

🔗
Table 36. Configuration Properties for DefaultSslConfiguration$DefaultTrustStoreConfiguration
Property Type Description

micronaut.ssl.trust-store

SslConfiguration$TrustStoreConfiguration

Sets the trust store configuration.

micronaut.ssl.trust-store.path

java.lang.String

Sets the path.

micronaut.ssl.trust-store.password

java.lang.String

Sets the password to use for the keystore.

micronaut.ssl.trust-store.type

java.lang.String

Sets the type of keystore.

micronaut.ssl.trust-store.provider

java.lang.String

Sets the keystore provider name.

🔗
Table 37. Configuration Properties for ClientSslConfiguration$DefaultKeyStoreConfiguration
Property Type Description

micronaut.http.client.ssl.key-store

SslConfiguration$KeyStoreConfiguration

Sets the keystore configuration.

micronaut.http.client.ssl.key-store.path

java.lang.String

Sets the path.

micronaut.http.client.ssl.key-store.password

java.lang.String

Sets the password to use for the keystore.

micronaut.http.client.ssl.key-store.type

java.lang.String

Sets the type of keystore.

micronaut.http.client.ssl.key-store.provider

java.lang.String

Sets the keystore provider name.

🔗
Table 38. Configuration Properties for DefaultSslConfiguration$DefaultKeyStoreConfiguration
Property Type Description

micronaut.ssl.key-store

SslConfiguration$KeyStoreConfiguration

Sets the keystore configuration.

micronaut.ssl.key-store.path

java.lang.String

Sets the path.

micronaut.ssl.key-store.password

java.lang.String

Sets the password to use for the keystore.

micronaut.ssl.key-store.type

java.lang.String

Sets the type of keystore.

micronaut.ssl.key-store.provider

java.lang.String

Sets the keystore provider name.

🔗
Table 39. Configuration Properties for ClientSslConfiguration$DefaultTrustStoreConfiguration
Property Type Description

micronaut.http.client.ssl.trust-store

SslConfiguration$TrustStoreConfiguration

Sets the trust store configuration.

micronaut.http.client.ssl.trust-store.path

java.lang.String

Sets the path.

micronaut.http.client.ssl.trust-store.password

java.lang.String

Sets the password to use for the keystore.

micronaut.http.client.ssl.trust-store.type

java.lang.String

Sets the type of keystore.

micronaut.http.client.ssl.trust-store.provider

java.lang.String

Sets the keystore provider name.

🔗
Table 40. Configuration Properties for ServerSslConfiguration$DefaultTrustStoreConfiguration
Property Type Description

micronaut.server.ssl.trust-store

SslConfiguration$TrustStoreConfiguration

Sets the trust store configuration.

micronaut.server.ssl.trust-store.path

java.lang.String

Sets the path.

micronaut.server.ssl.trust-store.password

java.lang.String

Sets the password to use for the keystore.

micronaut.server.ssl.trust-store.type

java.lang.String

Sets the type of keystore.

micronaut.server.ssl.trust-store.provider

java.lang.String

Sets the keystore provider name.

🔗
Table 41. Configuration Properties for ServerSslConfiguration$DefaultKeyStoreConfiguration
Property Type Description

micronaut.server.ssl.key-store

SslConfiguration$KeyStoreConfiguration

Sets the keystore configuration.

micronaut.server.ssl.key-store.path

java.lang.String

Sets the path.

micronaut.server.ssl.key-store.password

java.lang.String

Sets the password to use for the keystore.

micronaut.server.ssl.key-store.type

java.lang.String

Sets the type of keystore.

micronaut.server.ssl.key-store.provider

java.lang.String

Sets the keystore provider name.

🔗
Table 42. Configuration Properties for ServerSslConfiguration$DefaultKeyConfiguration
Property Type Description

micronaut.server.ssl.key

SslConfiguration$KeyConfiguration

Sets the key configuration.

micronaut.server.ssl.key.password

java.lang.String

Sets the password.

micronaut.server.ssl.key.alias

java.lang.String

Sets the alias.

🔗
Table 43. Configuration Properties for ServerSslConfiguration
Property Type Description

micronaut.server.ssl.enabled

boolean

Whether SSL is enabled. Default value (false).

micronaut.server.ssl.port

int

Sets the SSL port. Default value (8443).

micronaut.server.ssl.build-self-signed

boolean

Sets whether to build a self signed certificate. Default value (false).

micronaut.server.ssl.client-authentication

ClientAuthentication

Sets the client authentication mode.

micronaut.server.ssl.ciphers

java.lang.String[]

Sets the ciphers to use.

micronaut.server.ssl.protocols

java.lang.String[]

Sets the protocols to use.

micronaut.server.ssl.protocol

java.lang.String

Sets the protocol to use. Default value ("TLS").

🔗
Table 44. Configuration Properties for ClientSslConfiguration$DefaultKeyConfiguration
Property Type Description

micronaut.http.client.ssl.key

SslConfiguration$KeyConfiguration

Sets the key configuration.

micronaut.http.client.ssl.key.password

java.lang.String

Sets the password.

micronaut.http.client.ssl.key.alias

java.lang.String

Sets the alias.

🔗
Table 45. Configuration Properties for ClientSslConfiguration
Property Type Description

micronaut.http.client.ssl.enabled

boolean

Whether SSL is enabled. Default value (false).

micronaut.http.client.ssl.port

int

Sets the SSL port. Default value (8443).

micronaut.http.client.ssl.build-self-signed

boolean

Sets whether to build a self signed certificate. Default value (false).

micronaut.http.client.ssl.client-authentication

ClientAuthentication

Sets the client authentication mode.

micronaut.http.client.ssl.ciphers

java.lang.String[]

Sets the ciphers to use.

micronaut.http.client.ssl.protocols

java.lang.String[]

Sets the protocols to use.

micronaut.http.client.ssl.protocol

java.lang.String

Sets the protocol to use. Default value ("TLS").

🔗
Table 46. Configuration Properties for DefaultSslConfiguration
Property Type Description

micronaut.ssl.enabled

boolean

Whether SSL is enabled. Default value (false).

micronaut.ssl.port

int

Sets the SSL port. Default value (8443).

micronaut.ssl.build-self-signed

boolean

Sets whether to build a self signed certificate. Default value (false).

micronaut.ssl.client-authentication

ClientAuthentication

Sets the client authentication mode.

micronaut.ssl.ciphers

java.lang.String[]

Sets the ciphers to use.

micronaut.ssl.protocols

java.lang.String[]

Sets the protocols to use.

micronaut.ssl.protocol

java.lang.String

Sets the protocol to use. Default value ("TLS").

Http Server Config Properties

🔗
Table 47. Configuration Properties for HttpServerConfiguration
Property Type Description

micronaut.server.port

java.lang.Integer

Sets the port to bind to. Default value (-1)

micronaut.server.host

java.lang.String

Sets the host to bind to.

micronaut.server.read-timeout

java.lang.Integer

Sets the default read timeout.

micronaut.server.max-request-size

long

Sets the maximum request size. Default value (1024 * 1024 * 10 ⇒ // 10MB)

micronaut.server.read-idle-timeout

java.time.Duration

Sets the amount of time a connection can remain idle without any reads occurring. Default value (5 seconds).

micronaut.server.write-idle-timeout

java.time.Duration

Sets the amount of time a connection can remain idle without any writes occurring. Default value (5 seconds).

micronaut.server.idle-timeout

java.time.Duration

Sets the idle time of connections for the server. Default value (5 seconds).

micronaut.server.server-header

java.lang.String

Sets the name of the server header.

micronaut.server.date-header

boolean

Sets whether a date header should be sent back. Default value (true).

micronaut.server.log-handled-exceptions

boolean

Sets whether exceptions handled by either an error route or exception handler should still be logged. Default value (false).

micronaut.server.client-address-header

java.lang.String

The header that stores the original client address

micronaut.server.context-path

java.lang.String

Sets the context path for the web server.

micronaut.server.dual-protocol

boolean

the dual protocol (http/https) configuration

micronaut.server.default-charset

java.nio.charset.Charset

The default charset to use

🔗
Table 48. Configuration Properties for HttpServerConfiguration$MultipartConfiguration
Property Type Description

micronaut.server.multipart.location

java.io.File

Sets the location to store files.

micronaut.server.multipart.max-file-size

long

Sets the max file size. Default value (1024 * 1024 ⇒ 1MB).

micronaut.server.multipart.enabled

boolean

Sets whether multipart processing is enabled. Default value (false).

micronaut.server.multipart.disk

boolean

Sets whether to buffer data to disk or not. Default value (false).

micronaut.server.multipart.mixed

boolean

Sets whether to buffer data to disk if the size is greater than the threshold. Default value (false).

micronaut.server.multipart.threshold

long

Sets the amount of data that should be received that will trigger the data to be stored to disk. Default value (1024 * 1024 * 10).

🔗
Table 49. Configuration Properties for HttpServerConfiguration$CorsConfiguration
Property Type Description

micronaut.server.cors.enabled

boolean

Sets whether CORS is enabled. Default value (false)

micronaut.server.cors.single-header

boolean

Sets whether CORS header values should be joined into a single header. Default value (false).

micronaut.server.cors.configurations

java.util.Map

Sets the CORS configurations.

🔗
Table 50. Configuration Properties for HttpServerConfiguration$HostResolutionConfiguration
Property Type Description

micronaut.server.host-resolution.host-header

java.lang.String

The header name that stores the host

micronaut.server.host-resolution.protocol-header

java.lang.String

The header name that stores the protocol

micronaut.server.host-resolution.port-header

java.lang.String

The header name that stores the port

micronaut.server.host-resolution.port-in-host

boolean

True if the host header supports a port

Http Server Netty Config Properties

🔗
Table 51. Configuration Properties for FileTypeHandlerConfiguration
Property Type Description

netty.responses.file.cache-seconds

int

Cache Seconds. Default value (60).

🔗
Table 52. Configuration Properties for NettyHttpServerConfiguration$Worker
Property Type Description

micronaut.server.netty.worker.threads

int

Sets the number of threads for the event loop group.

micronaut.server.netty.worker.io-ratio

java.lang.Integer

Sets the I/O ratio.

micronaut.server.netty.worker.executor

java.lang.String

Sets the name of the executor.

🔗
Table 53. Configuration Properties for NettyHttpServerConfiguration$Parent
Property Type Description

micronaut.server.netty.parent.threads

int

Sets the number of threads for the event loop group.

micronaut.server.netty.parent.io-ratio

java.lang.Integer

Sets the I/O ratio.

micronaut.server.netty.parent.executor

java.lang.String

Sets the name of the executor.

🔗
Table 54. Configuration Properties for FileTypeHandlerConfiguration$CacheControlConfiguration
Property Type Description

netty.responses.file.cache-control.public

boolean

Sets whether the cache control is public. Default value (false)

🔗
Table 55. Configuration Properties for NettyHttpServerConfiguration
Property Type Description

micronaut.server.netty.child-options

java.util.Map

Sets the Netty child worker options.

micronaut.server.netty.options

java.util.Map

Sets the channel options.

micronaut.server.netty.max-initial-line-length

int

Sets the maximum initial line length for the HTTP request. Default value (4096).

micronaut.server.netty.max-header-size

int

Sets the maximum size of any one header. Default value (8192).

micronaut.server.netty.max-chunk-size

int

Sets the maximum size of any single request chunk. Default value (8192).

micronaut.server.netty.chunked-supported

boolean

Sets whether chunked transfer encoding is supported. Default value (true).

micronaut.server.netty.validate-headers

boolean

Sets whether to validate incoming headers. Default value (true).

micronaut.server.netty.initial-buffer-size

int

Sets the initial buffer size. Default value (128).

micronaut.server.netty.log-level

io.netty.handler.logging.LogLevel

Sets the Netty log level.

micronaut.server.netty.compression-threshold

int

Sets the minimum size of a request body must be in order to be compressed. Default value (1024).

micronaut.server.netty.compression-level

int

Sets the compression level (0-9). Default value (6).

micronaut.server.netty.use-native-transport

boolean

Sets whether to use netty’s native transport (epoll or kqueue) if available . Default value (false).

Management Config Properties

🔗
Table 56. Configuration Properties for DiscoveryClientHealthIndicatorConfiguration
Property Type Description

endpoints.health.discovery-client.enabled

boolean

If health indicator should be enabled. Default is true.

🔗
Table 57. Configuration Properties for EndpointDefaultConfiguration
Property Type Description

endpoints.all.enabled

java.lang.Boolean

Sets whether the endpoint is enabled.

endpoints.all.sensitive

java.lang.Boolean

Sets whether the endpoint is sensitive.

endpoints.all.path

java.lang.String

The endpoints base path. Default value ("/").

🔗
Table 58. Configuration Properties for EndpointConfiguration
Property Type Description

endpoints.*.enabled

java.lang.Boolean

Sets whether the endpoint is enabled.

endpoints.*.sensitive

java.lang.Boolean

Sets whether the endpoint is sensitive.

🔗
Table 59. Configuration Properties for HealthEndpoint$StatusConfiguration
Property Type Description

endpoints.health.status.http-mapping

java.util.Map

Set how HealthStatus map to HttpStatus codes.

🔗
Table 60. Configuration Properties for HealthEndpoint
Property Type Description

endpoints.health.details-visible

DetailsVisibility

Sets the visibility policy for health information.

🔗
Table 61. Configuration Properties for DiskSpaceIndicatorConfiguration
Property Type Description

endpoints.health.disk-space.enabled

boolean

Default value (true).

endpoints.health.disk-space.path

java.io.File

Default value (".").

endpoints.health.disk-space.threshold

long

Default value (1024 * 1024 * 10 ⇒ 10MB).

Multitenancy Config Properties

🔗
Table 62. Configuration Properties for TenantPropagationConfigurationProperties
Property Type Description

micronaut.multitenancy.propagation.enabled

boolean

Whether TenantPropagationHttpClientFilter should be enabled. Default value (false).

micronaut.multitenancy.propagation.service-id-regex

java.lang.String

Regular expression to match service ID.

micronaut.multitenancy.propagation.uri-regex

java.lang.String

Regular expression to match URI.

micronaut.multitenancy.propagation.path

java.lang.String

Configures TenantPropagationHttpClientFilter path. Default value "/**"

🔗
Table 63. Configuration Properties for CookieTenantWriterConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantwriter.cookie.cookiename

java.lang.String

Cookie Name. Default value ("tenantId").

micronaut.multitenancy.tenantwriter.cookie.cookie-domain

java.lang.String

Sets the domain name of this Cookie. Default value ("tenantId").

micronaut.multitenancy.tenantwriter.cookie.cookie-path

java.lang.String

Sets the path of the cookie. Default value ("/".

micronaut.multitenancy.tenantwriter.cookie.cookie-http-only

java.lang.Boolean

Whether the Cookie can only be accessed via HTTP. Default value (true.

micronaut.multitenancy.tenantwriter.cookie.cookie-secure

java.lang.Boolean

Sets whether the cookie is secured. Default value (true.

micronaut.multitenancy.tenantwriter.cookie.cookie-max-age

java.time.Duration

Sets the maximum age of the cookie.

micronaut.multitenancy.tenantwriter.cookie.enabled

boolean

Enables CookieTenantWriter. Default value (false).

🔗
Table 64. Configuration Properties for FixedTenantResolverConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantresolver.fixed.enabled

boolean

Enables FixedTenantResolver. Default value (false).

micronaut.multitenancy.tenantresolver.fixed.tenant-id

java.lang.String

The fixed tenant ID. Default value to ("DEFAULT").

🔗
Table 65. Configuration Properties for HttpHeaderTenantResolverConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantresolver.httpheader.header-name

java.lang.String

Http Header name which should be used to resolve the tenant id from. Default value ("tenantId").

micronaut.multitenancy.tenantresolver.httpheader.enabled

boolean

Enables HttpHeaderTenantResolver. Default value (false).

🔗
Table 66. Configuration Properties for SystemPropertyTenantResolverConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantresolver.systemproperty.enabled

boolean

Enable SystemPropertyTenantResolver. Default value (false).

micronaut.multitenancy.tenantresolver.systemproperty.property-name

java.lang.String

System property name. Default value ("tenantId").

🔗
Table 67. Configuration Properties for CookieTenantResolverConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantresolver.cookie.cookiename

java.lang.String

Cookie name which should be used to resolve the tenant id from. Default value ("tenantId").

micronaut.multitenancy.tenantresolver.cookie.enabled

boolean

Whether to enable CookieTenantResolver. Default value (false).

🔗
Table 68. Configuration Properties for HttpHeaderTenantWriterConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantwriter.httpheader.header-name

java.lang.String

Http Header name. Default value ("tenantId").

micronaut.multitenancy.tenantwriter.httpheader.enabled

boolean

Enables HttpHeaderTenantWriter. Default value (false).

🔗
Table 69. Configuration Properties for SubdomainTenantResolverConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantresolver.subdomain.enabled

boolean

Enables SubdomainTenantResolver. Default value (false).

🔗
Table 70. Configuration Properties for PrincipalTenantResolverConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantresolver.principal.enabled

boolean

Enables PrincipalTenantResolver. The default enable is false.

🔗
Table 71. Configuration Properties for SessionTenantResolverConfigurationProperties
Property Type Description

micronaut.multitenancy.tenantresolver.session.attribute

java.lang.String

Session Attribute name. Default value ("tenantId")

micronaut.multitenancy.tenantresolver.session.enabled

boolean

Enables SessionTenantResolver. The default value (false).

Router Config Properties

🔗
Table 72. Configuration Properties for HeaderVersionResolverConfiguration
Property Type Description

micronaut.router.versioning.header.enabled

boolean

Sets whether headers should be searched for a version.

micronaut.router.versioning.header.names

java.util.List

Sets which headers should be searched for a version.

🔗
Table 73. Configuration Properties for ParameterVersionResolverConfiguration
Property Type Description

micronaut.router.versioning.parameter.enabled

boolean

Sets whether parameter should be searched for a version.

micronaut.router.versioning.parameter.names

java.util.List

Sets which parameter should be searched for a version.

🔗
Table 74. Configuration Properties for RoutesVersioningConfiguration
Property Type Description

micronaut.router.versioning.enabled

boolean

Enables the version based route matches filtering.

micronaut.router.versioning.default-version

java.lang.String

Sets the version to use if the version cannot be resolved. Default value (null).

🔗
Table 75. Configuration Properties for StaticResourceConfiguration
Property Type Description

micronaut.router.static-resources.*.enabled

boolean

Sets whether this specific mapping is enabled. Default value (true).

micronaut.router.static-resources.*.paths

java.util.List

A list of paths either starting with classpath: or file:. You can serve files from anywhere on disk or the classpath. For example to serve static resources from src/main/resources/public, you would use classpath:public as the path.

micronaut.router.static-resources.*.mapping

java.lang.String

The path resources should be served from. Uses ant path matching. Default value ("/**").

Runtime Config Properties

🔗
Table 76. Configuration Properties for ApplicationConfiguration$InstanceConfiguration
Property Type Description

micronaut.application.instance.id

java.lang.String

The instance identifier

micronaut.application.instance.group

java.lang.String

The instance auto scaling group

micronaut.application.instance.zone

java.lang.String

The instance availability zone

micronaut.application.instance.metadata

java.util.Map

The metadata to associate with the instance

🔗
Table 77. Configuration Properties for JacksonConfiguration
Property Type Description

jackson.module-scan

boolean

Sets whether to scan for modules or not (defaults to true).

jackson.bean-introspection-module

boolean

Whether the BeanIntrospection should be used for reflection free object serialialization/deserialialization.

jackson.date-format

java.lang.String

Sets the default date format to use.

jackson.locale

java.util.Locale

Sets the locale to use.

jackson.time-zone

java.util.TimeZone

Sets the timezone to use.

jackson.array-size-threshold

int

Sets the array size threshold for data binding. Default value (100).

jackson.serialization

java.util.Map

Sets the serialization features to use.

jackson.deserialization

java.util.Map

Sets the deserialization features to use.

jackson.mapper

java.util.Map

Sets the object mapper features to use.

jackson.parser

java.util.Map

Sets the parser features to use.

jackson.generator

java.util.Map

Sets the generator features to use.

jackson.serialization-inclusion

com.fasterxml.jackson.annotation.JsonInclude$Include

Sets the serialization inclusion mode.

jackson.default-typing

com.fasterxml.jackson.databind.ObjectMapper$DefaultTyping

Sets the global defaultTyping using for Polymorphic handling.

jackson.property-naming-strategy

com.fasterxml.jackson.databind.PropertyNamingStrategy

Sets the property naming strategy.

🔗
Table 78. Configuration Properties for DefaultCacheConfiguration
Property Type Description

micronaut.caches.*.charset

java.nio.charset.Charset

The charset used to serialize and deserialize values

micronaut.caches.*.initial-capacity

java.lang.Integer

The initial cache capacity.

micronaut.caches.*.maximum-size

java.lang.Long

Specifies the maximum number of entries the cache may contain

micronaut.caches.*.maximum-weight

java.lang.Long

Specifies the maximum weight of entries

micronaut.caches.*.expire-after-write

java.time.Duration

The cache expiration duration after writing into it.

micronaut.caches.*.expire-after-access

java.time.Duration

The cache expiration duration after accessing it

micronaut.caches.*.record-stats

boolean

Set whether record stats is enabled. Default value ({@value #DEFAULT_RECORD_STATS}).

micronaut.caches.*.test-mode

boolean

Set whether test mode is enabled. Default value ({@value #DEFAULT_TESTMODE}).

🔗
Table 79. Configuration Properties for HeartbeatConfiguration
Property Type Description

micronaut.heartbeat.interval

java.time.Duration

Default value (15 seconds).

micronaut.heartbeat.enabled

boolean

Default value (true).

🔗
Table 80. Configuration Properties for ApplicationConfiguration
Property Type Description

micronaut.application.default-charset

java.nio.charset.Charset

Default value (UTF-8).

micronaut.application.name

java.lang.String

Set the application name

🔗
Table 81. Configuration Properties for FileWatchConfiguration
Property Type Description

micronaut.io.watch.enabled

boolean

Whether watch is enabled.

micronaut.io.watch.restart

boolean

Set whether restart is enabled.

micronaut.io.watch.paths

java.util.List

Sets the watch paths to use.

micronaut.io.watch.check-interval

java.time.Duration

Sets the interval to wait between file watch polls.

🔗
Table 82. Configuration Properties for AmazonMetadataConfiguration
Property Type Description

micronaut.application.ec2.metadata.url

java.lang.String

Default value ("http://169.254.169.254/").

micronaut.application.ec2.metadata.metadata-url

java.lang.String

The metadata Url

micronaut.application.ec2.metadata.instance-document-url

java.lang.String

The instance document Url

micronaut.application.ec2.metadata.enabled

boolean

Default value (true).

🔗
Table 83. Configuration Properties for DigitalOceanMetadataConfiguration
Property Type Description

micronaut.application.digitalocean.metadata.url

java.lang.String

Default value ("http://169.254.169.254/metadata/v1.json").

micronaut.application.digitalocean.metadata.enabled

boolean

Default value (true).

🔗
Table 84. Configuration Properties for OracleCloudMetadataConfiguration
Property Type Description

micronaut.application.oraclecloud.metadata.url

java.lang.String

Default value ("http://169.254.169.254/opc/v1/instance/").

micronaut.application.oraclecloud.metadata.metadata-url

java.lang.String

The metadata Url

micronaut.application.oraclecloud.metadata.instance-document-url

java.lang.String

The instance document Url

micronaut.application.oraclecloud.metadata.vnic-url

java.lang.String

The instance document Url

micronaut.application.oraclecloud.metadata.enabled

boolean

Default value (true).

🔗
Table 85. Configuration Properties for UserExecutorConfiguration
Property Type Description

micronaut.executors.*.n-threads

java.lang.Integer

micronaut.executors.*.type

ExecutorType

Sets the executor type. Default value (SCHEDULED).

micronaut.executors.*.parallelism

java.lang.Integer

Sets the parallelism for WORK_STEALING. Default value (Number of processors available to the Java virtual machine).

micronaut.executors.*.core-pool-size

java.lang.Integer

Sets the core pool size for SCHEDULED. Default value (2 * Number of processors available to the Java virtual machine).

micronaut.executors.*.thread-factory-class

java.lang.Class

Sets the thread factory class.

micronaut.executors.*.number-of-threads

java.lang.Integer

Sets the number of threads for FIXED. Default value (2 * Number of processors available to the Java virtual machine).

🔗
Table 86. Configuration Properties for GoogleComputeMetadataConfiguration
Property Type Description

micronaut.application.gcp.metadata.enabled

boolean

Default value (true).

micronaut.application.gcp.metadata.metadata-url

java.lang.String

Default value ("http://metadata.google.internal/computeMetadata/v1/project/").

micronaut.application.gcp.metadata.project-metadata-url

java.lang.String

Default value ("http://metadata.google.internal/project/v1/project/").

micronaut.application.gcp.metadata.read-timeout

java.time.Duration

Default value (5 seconds).

micronaut.application.gcp.metadata.connect-timeout

java.time.Duration

Default value (2).

Session Config Properties

🔗
Table 87. Configuration Properties for SessionConfiguration
Property Type Description

micronaut.session.max-inactive-interval

java.time.Duration

Set the maximum inactive interval. Default value (30 minutes).

micronaut.session.max-active-sessions

java.lang.Integer

Sets the maximum number of active sessions.

🔗
Table 88. Configuration Properties for HttpSessionConfiguration
Property Type Description

micronaut.session.http.remember-me

boolean

Default value (false).

micronaut.session.http.base64encode

boolean

Default value (true).

micronaut.session.http.cookie-max-age

java.time.Duration

Sets the maximum age of the cookie.

micronaut.session.http.cookie-secure

java.lang.Boolean

Sets the secure status of the cookie. Delegates to http if not set.

micronaut.session.http.cookie-path

java.lang.String

Set the cookie path to use. Default value ("/").

micronaut.session.http.domain-name

java.lang.String

Set the domain name to use for the cookie

micronaut.session.http.cookie-name

java.lang.String

Default value ("SESSION").

micronaut.session.http.prefix

java.lang.String

Set the prefix to use when serializing session ID

micronaut.session.http.header-names

java.lang.String[]

Default values (["Authorization-Info", "X-Auth-Token"]).

micronaut.session.http.cookie-domain

java.lang.String

Set the domain name to use for the cookie

Tracing Config Properties

🔗
Table 89. Configuration Properties for BraveTracerConfiguration
Property Type Description

tracing.zipkin.local-service-name

java.lang.String

tracing.zipkin.local-ip

java.lang.String

tracing.zipkin.local-port

int

tracing.zipkin.trace-id128bit

boolean

tracing.zipkin.supports-join

boolean

tracing.zipkin.add-finished-span-handler

brave.handler.FinishedSpanHandler

tracing.zipkin.enabled

boolean

Default value (false).

🔗
Table 90. Configuration Properties for BraveTracerConfiguration$HttpClientSenderConfiguration
Property Type Description

tracing.zipkin.http.encoding

zipkin2.codec.Encoding

tracing.zipkin.http.message-max-bytes

int

tracing.zipkin.http.compression-enabled

boolean

tracing.zipkin.http.server

java.net.URI

tracing.zipkin.http.url

java.net.URI

tracing.zipkin.http.urls

java.util.List

tracing.zipkin.http.build

javax.inject.Provider

tracing.zipkin.http.ssl-configuration

SslConfiguration

tracing.zipkin.http.logger-name

java.lang.String

tracing.zipkin.http.follow-redirects

boolean

tracing.zipkin.http.default-charset

java.nio.charset.Charset

tracing.zipkin.http.channel-options

java.util.Map

tracing.zipkin.http.shutdown-timeout

java.time.Duration

tracing.zipkin.http.read-timeout

java.time.Duration

tracing.zipkin.http.read-idle-timeout

java.time.Duration

tracing.zipkin.http.connect-timeout

java.time.Duration

tracing.zipkin.http.connect-ttl

java.time.Duration

tracing.zipkin.http.num-of-threads

java.lang.Integer

tracing.zipkin.http.thread-factory

java.lang.Class

tracing.zipkin.http.max-content-length

int

tracing.zipkin.http.proxy-type

java.net.Proxy$Type

tracing.zipkin.http.proxy-address

java.net.SocketAddress

tracing.zipkin.http.proxy-username

java.lang.String

tracing.zipkin.http.proxy-password

java.lang.String

tracing.zipkin.http.proxy-selector

java.net.ProxySelector

🔗
Table 91. Configuration Properties for JaegerConfiguration$JaegerSenderConfiguration
Property Type Description

tracing.jaeger.sender.agent-host

java.lang.String

tracing.jaeger.sender.agent-port

java.lang.Integer

tracing.jaeger.sender.endpoint

java.lang.String

tracing.jaeger.sender.auth-token

java.lang.String

tracing.jaeger.sender.auth-username

java.lang.String

tracing.jaeger.sender.auth-password

java.lang.String

🔗
Table 92. Configuration Properties for JaegerConfiguration$JaegerSamplerConfiguration
Property Type Description

tracing.jaeger.sampler.type

java.lang.String

tracing.jaeger.sampler.param

java.lang.Number

tracing.jaeger.sampler.manager-host-port

java.lang.String

tracing.jaeger.sampler.probability

float

Sets the sampler probability used by the default {@link brave.sampler.CountingSampler}. A value of 1.0 indicates to sample all requests. A value of 0.1 indicates to sample 10% of requests.

🔗
Table 93. Configuration Properties for BraveTracerConfiguration$SamplerConfiguration
Property Type Description

tracing.zipkin.sampler.probability

float

Sets the sampler probability used by the default {@link brave.sampler.CountingSampler}. A value of 1.0 indicates to sample all requests. A value of 0.1 indicates to sample 10% of requests.

🔗
Table 94. Configuration Properties for JaegerConfiguration$JaegerReporterConfiguration
Property Type Description

tracing.jaeger.reporter.log-spans

java.lang.Boolean

tracing.jaeger.reporter.flush-interval

java.lang.Integer

tracing.jaeger.reporter.max-queue-size

java.lang.Integer

tracing.jaeger.reporter.sender

io.jaegertracing.Configuration$SenderConfiguration

🔗
Table 95. Configuration Properties for AsyncReporterConfiguration
Property Type Description

tracing.zipkin.reporter.thread-factory

java.util.concurrent.ThreadFactory

tracing.zipkin.reporter.metrics

zipkin2.reporter.ReporterMetrics

tracing.zipkin.reporter.message-max-bytes

int

tracing.zipkin.reporter.message-timeout

java.time.Duration

tracing.zipkin.reporter.close-timeout

java.time.Duration

tracing.zipkin.reporter.queued-max-spans

int

tracing.zipkin.reporter.queued-max-bytes

int

tracing.zipkin.reporter.build

zipkin2.codec.BytesEncoder

🔗
Table 96. Configuration Properties for JaegerConfiguration
Property Type Description

tracing.jaeger.tracer-tags

java.util.Map

tracing.jaeger.enabled

boolean

Enable/Disable Jaeger. Default value (false).

tracing.jaeger.expand-exception-logs

boolean

Whether to expand exception logs.

tracing.jaeger.zipkin-shared-rpc-span

boolean

Whether to use Zipkin shared RPC.

Validation Config Properties

🔗
Table 97. Configuration Properties for DefaultValidatorConfiguration
Property Type Description

micronaut.validator.enabled

boolean

Sets whether Micronaut’s validator is enabled.