[rabbitmq-discuss] Many consumers on 1 queue. What algorithm RabbitMQ use to send messages?
Michael Klishin
michael.s.klishin at gmail.com
Mon Sep 23 11:05:23 BST 2013
2013/9/23 Haster <haster2004 at yandex.ru>
>
> And if prefetch_count = 1 but 1st consumer has already processed his
> message? Will server send new message again to consumer1? Or in any cases
> next message will be sent to consumer2?
It's round robin between consumers that haven't gone above the basic.qos
setting
for their channel. With prefetch > 1 it's just harder to see because you
have more
messages in flight.
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130923/af6240a6/attachment.htm>
More information about the rabbitmq-discuss
mailing list