node-redis
node-redis copied to clipboard
Cannot subscribe to Cluster client
I've been looking to use the cluster client, but there seems to be a lot of missing functionality.
The cluster connection only seems to be able to run sever commands and does not have the functionality of the normal redis client.
Although we can individually connect to a node in the cluster, it would be better if the the subscription round robins to the different nodes in the cluster as a part of the library.
I ended up using ioredis
which does support subscribe/psubscribe
for clusters.
Any update on this? I may need to switch to ioredis
as well due to the same reason.
Same thing, "subscribe" method is not available for RedisCluster. At least this could be put as a warning on the docs... so we take it into consideration when we select which library to use...