Skip to content

[Other] Clarification on message balancing when consuming from multiple queues on a single channel #13486

Closed Answered by michaelklishin
agrinh asked this question in Other
Discussion options

You must be logged in to vote

RabbitMQ do not do any prioritization across queues beyond what consumer priorities instruct it to do.

You cannot assume any specific ordering regardless of consumer priorities used.

Assuming equal consumer priorities, RabbitMQ will deliver as many messages as it can until it hits the prefetch limit. After that any deliveries that were sent internally from the queue replica to the channel process will soon enough be stopped by a component known as the prefetch limit plus the internal flow control mechanism.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@agrinh
Comment options

@michaelklishin
Comment options

Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants