[rabbitmq-discuss] Publisher Confirms stop occurring when Consumer is present and queue is large
matthew at rabbitmq.com
Tue Nov 1 06:31:39 GMT 2011
Thanks for the detailed report.
Your report has prompted us to think carefully about your test, and we
can see how the broker can end up behave this way. This is not desired
behaviour of the broker and thus does constitute a bug. There is no
What is happening is that your publisher is waiting for the broker to
send the confirms back to it. For this to happen, internally, the queues
have to send some messages to themselves. These messages are being
starved out because Rabbit prioritises getting rid of messages. Thus the
queue's desire to drive the consumer prevents the queue from processing
internal messages that would lead the queue to issue the confirms back
up, via the channel and out to the client.
At a minimum, we need to adjust some message priorities internally. But
the actual fix may turn out to be bigger than that. Given current
timings, I wouldn't expect a fix for this to be in the next release, but
in the one after that.
More information about the rabbitmq-discuss