-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
Please see the issue I opened here: redis/ioredis#431
Has someone tested it on their own and can confirm that it's broken/not broken?
Just to have all the information complete, here are the relevant docker-compose services:
redis-primary:
image: bitnami/redis:latest
environment:
- REDIS_REPLICATION_MODE=master
volumes:
- ./_redisdata:/bitnami/redis
restart: always
redis-secondary:
image: bitnami/redis:latest
depends_on:
- redis-primary
environment:
- REDIS_REPLICATION_MODE=slave
- REDIS_MASTER_HOST=redis-primary
- REDIS_MASTER_PORT=6379
restart: alwaysAnd here is the DS config:
plugins:
message:
name: redis
options:
nodes:
- host: "redis-primary"
port: 6379
- host: "redis-secondary"
port: 6379
maxRedirections: 16
scaleReads: slave
redisOptions:
foo: bar # just to have an entry here, otherwise the connector will fail in another way
cache:
name: redis
options:
nodes:
- host: "redis-primary"
port: 6379
- host: "redis-secondary"
port: 6379
maxRedirections: 16
scaleReads: slave
redisOptions:
foo: bar