If the RedisOpts is an array it should be passed to Redis.Cluster according to docs: https://github.com/luin/ioredis#cluster
@thelinuxlich in the meantime this should work:
new Bull({
redis: [ /* ... */ ]
createClient: (type, config) => new Redis.Cluster(config);
});
works like a charm!
Do not forget to prefix appropriately or it will not work: https://github.com/OptimalBits/bull/blob/master/PATTERNS.md#redis-cluster
Most helpful comment
@thelinuxlich in the meantime this should work: