Redis publish/subscribe: see what channels are currently subscribed to

后端 未结 5 1655
Happy的楠姐
Happy的楠姐 2021-02-05 14:37

I am currently interested in seeing what channels are subscribed to in a Redis pub/sub application I have. When a client connects to our server, we register them to a channel th

5条回答
  •  北海茫月
    2021-02-05 14:46

    From version 2.8.0 redis has a pubsub command that would help in this case:

    http://redis.io/commands/pubsub

    Remark: currently the state of 2.8.0 is not stable yet (RC2)

提交回复
热议问题