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
I am having issue using sharding. I want to achieve having one queue that has 6 consumers but with sharding to achieve that each consumer is on one CPU.
After enabling
rabbitmq-plugins enable rabbitmq_sharding
Hi @stevenklar when I put 'shard.videos' in \Amqp::consume('shard.videos', there is Error, as it does not accept queue name with dots.
So there is still a problem.
I am having issue using sharding. I want to achieve having one queue that has 6 consumers but with sharding to achieve that each consumer is on one CPU.
After enabling
rabbitmq-plugins enable rabbitmq_sharding
and setting up config
making policy
rabbitmqctl set_policy videos-shard "^shard.videos$" "{""shards-per-node"": 1,""routing-key"": ""fc_analyze""}"
with
\Amqp::publish('fc_analyze', 'this is message');
I get it to wright queue but can not get consumer in that queue using this code
Please help and advice.
Thank you
The text was updated successfully, but these errors were encountered: