This guide provides step-by-step instructions for deploying a rate limiter for Apache James using Redis Sentinel.
The redis-sentinel in lab environment is structured with 6 nodes:
redis.properties file sample:redisURL=redis-sentinel://your_password@redis-sentinel-1:26379,redis-sentinel-2:26379,redis-sentinel-3:26379?sentinelMasterId=mymaster redis.topology=master-replica
Run docker-compose with the following command:
docker-compose up -d -f docker-compose-with-redis-sentinel.yml