josie kat
2018-11-05 14:01:16 UTC
I want to listen to keyspace expiration events that capture keys .
https://redis.io/topics/notifications
this a line in ruby I'm using:
psubscribe("***@0__:expired")
*however I'm not interested in all keys expirations but keys that have a string like "mykey"*
*how do i to combine both keyevents and key pattern matching?*
*currently I capure keys and do if key has a string **"mykey" to filter keys.*
https://redis.io/topics/notifications
this a line in ruby I'm using:
psubscribe("***@0__:expired")
*however I'm not interested in all keys expirations but keys that have a string like "mykey"*
*how do i to combine both keyevents and key pattern matching?*
*currently I capure keys and do if key has a string **"mykey" to filter keys.*
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.