Replies: 1 comment
-
Is it a bug? Could anyone familiar with the codebase provide some guidance? If you don't have time, some quick pointers to the doc or code would be appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi go-redis experts,
I've been struggling to find the right way to get all sharded pubsub messages from a NewClusterClient. Here is a working example:
ssub.go
:Output:
The NewClusterClient is only able to get sharded pubsub messages of multiple channels (ch1 : ch10) from one shard (ch8, ch10 and ch4 in this case), despite the attempt to spublish to all channels to make the NewClusterClient aware of all shards.
There aren't a lot of code examples that I can find, and I've already read related tests (e.g.
pubsub_test.go
andosscluster_test.go
in particular), but still can't figure out the right way. What am I missing? Your pointers would be greatly appreciated!Beta Was this translation helpful? Give feedback.
All reactions