I need to use Redis in the pub/sub mode. I have a subscriber which listens to the expiry events on a particular key.
For this I use: CONFIG SET notify-keyspace-events