redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
MIT License
14.07k stars 1.19k forks source link

Unable to Set Config to Listen to Expiry Events in Redis Cluster Mode #1828

Open bukovacRobert opened 8 months ago

bukovacRobert commented 8 months ago

I've set up a multiple-node Redis Cluster, and I'm encountering an issue with configuring it to listen to expiry events. In a non-cluster mode, the configuration would typically be set as follows: client.config("SET", "notify-keyspace-events", "Ex"); However, it seems like this configuration is not supported in cluster mode.

I expected to be able to configure the Redis Cluster to listen to expiry events using the command mentioned above or a similar configuration.

Is there a workaround or a solution to configure the Redis Cluster to listen to expiry events? Is this something that is not possible in the current implementation, or have I possibly missed something in the documentation?

ioredis: 5.3.2

dejankatanic commented 2 months ago

Any update on this?