Redis Server Configuration
Redis is used in distributed James for the optional component.
This configuration helps you configure components using Redis in case you want to setup a distributed James.
And it is only applicable with Guice products.
Consult redis.properties
in GIT to get some examples and hints.
Redis Configuration
- redisURL
-
the Redis URI pointing to Redis server. Compulsory.
- redis.topology
- Redis server topology. Defaults to standalone. Possible values: standalone, cluster, master-replica
- redis.readFrom
- The property to determine how Lettuce routes read operations to Redis server with topologies other than standalone.
Defaults to master. Possible values: master, masterPreferred, replica, replicaPreferred, any.
Reference: https://github.com/redis/lettuce/wiki/ReadFrom-Settings.
- redis.ioThreads
- IO threads to be using for the underlying Netty networking resources. If unspecified driver defaults applies.
- redis.workerThreads
- Worker threads to be using for the underlying driver. If unspecified driver defaults applies.