redis發佈訂閱和自定義的命令組合

啓動訂閱和發佈客戶端 html 在訂閱客戶端 java redis 127.0.0.1:6379> PSUBSCRIBE shareredis Reading messages... (press Ctrl-C to quit) 1) "psubscribe" 2) "share" 3) (integer) 1異步 表示客戶端訂閱share通道ui 其中1表示該客戶端中連的接訂閱通道數爲1code
相關文章
相關標籤/搜索