在收听Keyspace通知时,它看起来像这样:
λ redis-cli --csv psubscribe '__keyspace@0__:myset:*'
Reading messages... (press Ctrl-C to quit)
"psubscribe","__keyspace@0__:myset:*",1
"pmessage","__keyspace@0__:myset:*","__keyspace@0__:myset:1","sadd"
"pmessage","__keyspace@0__:myset:*","__keyspace@0__:myset:1","srem"
问题是它从未说过要添加或删除的实际设置密钥。有没有办法通过Keyspace Notifications访问集合中添加或删除的字符串?如果不可能有解决方法吗?