Skip to content

Redis cluster store

Configuration

URL(s)

URL(s) of the Redis server(s)

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

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

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

Password

Password to connect to the store.

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

Retry Settings

Max Wait

Maximum time to wait between retries.

A length of time. Name in the API: maxRetryWait.

Min Wait

Minimum time to wait between retries.

A length of time. Name in the API: minRetryWait.

Retries

Number of retries to connect to the Redis cluster.

A number. Name in the API: maxRetries.

Cluster Settings

Read from replicas

Whether to read from replicas.

On or off. Default: On. Name in the API: readFromReplicas.

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.