I am using Jedis 2.9.0 version and i followed
Redis Key expire notification with Jedis
but onPMessage method in Listener is not called when redis key expires.
in Subscriber I used
jedis.psubscribe(new KeyExpiredListener(), "*"); When I am running server
jedis.set("notify", "test"); jedis.expire("notify", 10); but After 10 seconds Redis key expired but onPMessage did not trigger.
*with the specific keyspace channel? Like"__key*__:*