0
當聽KEYSPACE通知它看起來像這樣:使用Redis的獲取命令目標KEYSPACE通知
λ redis-cli --csv psubscribe '[email protected]__:myset:*'
Reading messages... (press Ctrl-C to quit)
"psubscribe","[email protected]__:myset:*",1
"pmessage","[email protected]__:myset:*","[email protected]__:myset:1","sadd"
"pmessage","[email protected]__:myset:*","[email protected]__:myset:1","srem"
的問題是,它從來沒有說,被添加或刪除的實際設置鍵。有沒有什麼辦法來訪問被添加或刪除通過KEYSPACE通知一組內的字符串?如果不可能有一種解決方法?