SAC: message delivery halts when a second consumer with a higher priority is introduced #14142
Replies: 3 comments 4 replies
-
@elhectormento from the Single Active Consumer documentation:
Perhaps you have missed this part specifically:
We cannot suggest anything else without knowing what RabbitMQ version is used and logs from the node those consumes connect to, and if there are multiple nodes, all of them. |
Beta Was this translation helpful? Give feedback.
-
@acogoluegnes also points out that the redelivery loop protection that quorum queues have, can play a role in a test like this. If the current SAC keeps requeueing its deliveries, this will create a condition where there are always pending deliveries to the same active consumer, so the redelivery loop protection will kicks in, and the flow of deliveries will stop. |
Beta Was this translation helpful? Give feedback.
-
@kjnilsson confirmed it is a bug, I'll create a follow-up issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
When using a quorum queue with the following arguments:
A first consumer is created with priority = 0 and QoS = 1. This consumer starts and requeues the delivered messages.
A second consumer is created with priority = 100.
Message delivery becomes stuck. No messages are delivered to either consumer after the second one is introduced.
Reproduction steps
Expected behavior
After Consumer B (with higher priority) is started, message delivery should switch to it, as per the x-single-active-consumer and priority settings.
Additional context
RabbitMQ versions tested:
rabbitmq.log
A test to check this issue:
Beta Was this translation helpful? Give feedback.
All reactions