Redis Key expire notification with Jedis
问题 I am trying to implement a expiry key notification with redis ,when my key expires in the redis data store. The redis website provides some description of how http://redis.io/topics/notifications, but Im unable to find any example how to do it using redis java client like Jedis? Any possible code with illustration will be very helpful as im new to redis. 回答1: You can do it with the pub-sub model only Start Redis Server Change the notify-keyspace-events in redis.conf to KEA (this depends on