How to consume a queue after it is sharded? #6435
Unanswered
springmvcGitHub
asked this question in
Other
Replies: 1 comment 1 reply
-
|
From the in other words, you do not consume from individual shards. They are an implementation detail. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
hi rabbitmq expert.

Here is a question. The scenario is as follows: I deployed rabbitmq with K8S, 3 pods, and used rabbitmq_sharding to sharded. The sharding configuration is as follows: '{"shards per node": 1, "routing key": "#"}. The sharding results are shown in the following image:
The problem is: if i use 'history' to consume queue messages, i cannot receive messages (if i use 1 rabbitmq pod to shard multiple pieces, it can use this queue name to consume), but i use
sharding: history- rabbit@my-rabbitmq-0.my-rabbitmq-headless.default.svc.cluster.local -0 or
sharding: history- rabbit@my-rabbitmq-1.my-rabbitmq-headless.default.svc.cluster.local -0 or
sharding: history- rabbit@my-rabbitmq-2.my-rabbitmq-headless.default.svc.cluster.local -0 can receive messages from the queue. How can I use queue name is 'history' to receive messages from all shard queues?
thanks a lot!
Originally posted by @springmvcGitHub in #6425 (comment)
Beta Was this translation helpful? Give feedback.
All reactions