You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, unfortunately hiredis-cluster does not support any kind of subscribe (SUBSCRIBE, PSUBSCRIBE, SSUBSCRIBE). See #27.
Regarding SSUBSCRIBE, not even the underlying hiredis supports it. See redis/hiredis#1066.
redis-cli (which comes with redis) can support ssubscribe and it uses hiredis, but it does it's own handling. (It calls redisGetReply() repeatedly and checks if each reply looks like a pushed pubsub message.)
If you have a blocking thread to consume messages, one possible workaround is to use hiredis directly. You can get the hiredis context from hiredis-cluster like this:
Neither synchronous nor asynchronous mode can handle SSUBSCRIBE.
Is there an example that handles SSUBSCRIBE?
The text was updated successfully, but these errors were encountered: