Skip to content

Redis sentinel store

Configuration

Sentinel URL(s)

Address(es) of the Sentinel node(s)

A list. Each one: an address (URL). Default: redis://127.0.0.1:26379. Name in the API: urls.

Service name

Name of the monitored master (service) to query via the Sentinels.

Text. Default: mymaster. Name in the API: serviceName.

Timeout

Connection timeout to the database.

A length of time. Default: 10s. Name in the API: timeout.

Protocol version

Protocol Version.

One of: RESP2 (resp2), RESP3 (resp3). Default: RESP2. Name in the API: protocolVersion.

Authentication

Username

Username to connect to the data nodes.

Text. Default: inbuxa. Name in the API: authUsername.

Password

Password to connect to the data nodes.

Settings of their own: see Secret key optional. Name in the API: authSecret.

Sentinel Authentication

Username

Username to connect to the Sentinel nodes.

Text. Name in the API: sentinelUsername.

Password

Password to connect to the Sentinel nodes.

Settings of their own: see Secret key optional. Name in the API: sentinelSecret.

Pools

Max Connections

Maximum number of connections to the store.

A number. Default: 10. Name in the API: poolMaxConnections.

Create Timeout

Timeout for creating a new connection.

A length of time. Default: 30s. Name in the API: poolTimeoutCreate.

Wait Timeout

Timeout for waiting for a connection from the pool.

A length of time. Default: 30s. Name in the API: poolTimeoutWait.

Recycle Timeout

Timeout for recycling a connection.

A length of time. Default: 30s. Name in the API: poolTimeoutRecycle.