Redis
By default conductor runs with an in-memory Redis mock. However, you can change the configuration by setting the properties mentioned below.
conductor.db.type
and conductor.queue.type
Value | Description |
---|---|
dynomite | Dynomite Cluster. Dynomite is a proxy layer that provides sharding and replication. |
memory | Uses an in-memory Redis mock. Should be used only for development and testing purposes. |
redis_cluster | Redis Cluster configuration. |
redis_sentinel | Redis Sentinel configuration. |
redis_standalone | Redis Standalone configuration. |
conductor.redis.hosts
Expected format is host:port:rack
separated by semicolon, e.g.:
conductor.redis.database
Redis database value other than default of 0 is supported in sentinel and standalone configurations. Redis cluster mode only uses database 0, and the configuration is ignored.
conductor.redis.username
Redis ACL using username and password authentication is now supported.
The username property should be set as conductor.redis.username
, e.g.:
default
as the username.
The password should be set as the 4th param of the first host host:port:rack:password
, e.g.:
conductor.redis.hosts=host0:6379:us-east-1c:my_str0ng_pazz;host1:6379:us-east-1c;host2:6379:us-east-1c
Notes
- In a cluster, all nodes use the same username and password.
- In a sentinel configuration, sentinels and redis nodes use the same database index, username, and password.