Configuration Reference

Version:5.7.0

Micronaut R2dbc Core Config Properties

🔗
Table 1. Configuration Properties for R2dbcHealthConfiguration
Property Type Description

endpoints.health.r2dbc.enabled

boolean

endpoints.health.r2dbc.database-name-to-health-query

java.util.Map

map with Key for {@link io.r2dbc.spi.ConnectionFactoryMetadata#getName()} and value for health query to be executed against such R2DBC connection factory

🔗
Table 2. Configuration Properties for DefaultBasicR2dbcProperties
Property Type Description

r2dbc.datasources.*.driver

java.lang.String

Sets the driver.

r2dbc.datasources.*.options

java.util.Map

Sets the connection properties.

r2dbc.datasources.*.protocol

java.lang.String

Sets the protocol.

r2dbc.datasources.*.connect-timeout

java.time.Duration

Sets the connect timeout.

r2dbc.datasources.*.ssl

boolean

Sets whether to prefer SSL configuration.

r2dbc.datasources.*.host

java.lang.String

Sets the host.

r2dbc.datasources.*.port

int

Sets the port.

r2dbc.datasources.*.username

java.lang.String

Sets the username.

r2dbc.datasources.*.password

java.lang.CharSequence

Sets the password.

r2dbc.datasources.*.database

java.lang.String

Sets the initial database name.