Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Latest commit

 

History

History
79 lines (59 loc) · 2.43 KB

configuration-options.adoc

File metadata and controls

79 lines (59 loc) · 2.43 KB

Configuration options

Key Default Value Description

{config_prefix}.authentication.kerberos-ticket

A kerberos ticket for connecting to the database. Mutual exclusive with a given username.

{config_prefix}.authentication.password

The password of the user connecting to the database.

{config_prefix}.authentication.realm

The realm to connect to.

{config_prefix}.authentication.username

The login of the user connecting to the database.

{config_prefix}.pool.connection-acquisition-timeout

1m

Acquisition of new connections will be attempted for at most configured timeout.

{config_prefix}.config.connection-timeout

30s

Specify socket connection timeout.

{config_prefix}.config.encrypted

false

Flag, if the driver should use encrypted traffic.

{config_prefix}.pool.idle-time-before-connection-test

Pooled connections that have been idle in the pool for longer than this timeout will be tested before they are used again.

{config_prefix}.pool.log-leaked-sessions

false

Flag, if leaked sessions logging is enabled.

{config_prefix}.pool.max-connection-lifetime

1h

Pooled connections older than this threshold will be closed and removed from the pool.

{config_prefix}.pool.max-connection-pool-size

100

The maximum amount of connections in the connection pool towards a single database.

{config_prefix}.config.max-transaction-retry-time

30s

Specify the maximum time transactions are allowed to retry.

{config_prefix}.config.server-address-resolver-class

Specify a custom server address resolver used by the routing driver to resolve the initial address used to create the driver.

{config_prefix}.config.trust-settings.cert-file

The file of the certificate to use.

{config_prefix}.config.trust-settings.hostname-verification-enabled

false

Flag, if hostname verification is used.

{config_prefix}.config.trust-settings.strategy

Configures the strategy to use use.

{config_prefix}.uri

The uri this driver should connect to. The driver supports bolt or neo4j as schemes. The starter does not provide a default URI so that clashes with the SDN/OGM Spring Boot starter are avoided.

{config_prefix}.pool.metrics-enabled

false

Set this to true, so that the driver collects metrics, which can be exported to Micrometer.