Quorum queues and requeueing

22 views
Skip to first unread message

Simone B

unread,
Jul 17, 2020, 11:58:40 AM7/17/20
to rabbitmq-users
Hi all,

I've read about avoiding messages that stay in the quorum queue for long times, but it is still unclear to me what is the condition to avoid.

If I understand correctly, the bad condition is having a single message that can't be consumed, followed by a big number of messages that are consumed. This results in the space used  by consumed message to be not reclaimable. Is this correct?

Based on this, negative-acking messages several times should not be an issue, as long as there aren't too many other messages that could be reclaimed?
Would requeueing solve the issue, by moving the message at the top of the queue?
Or another possibility would be to discard the message and just publish another identical message?

Thanks,
Simone

Karl Nilsson

unread,
Jul 20, 2020, 12:52:47 PM7/20/20
to rabbitm...@googlegroups.com
Hi,

Your understand seems pretty correct to me. Yes a single message that is permanently returned to the queue will stop the quorum queue disk space from being reclaimed. How quickly that will become a problem depends on the throughput and the messages sizes but nacking even multiple times wouldn't typically cause any problem. Realistically it is only where there is a poison message that can never be consumed that it is likely to be problematic. That is why automatic poising handling configuration is possible for Quorum Queues.


As you mention you could also re-publish the message to the queue to put it at the back then ack the "old" version.

Cheers
Karl

From: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com> on behalf of Simone B <simoneb...@gmail.com>
Sent: 17 July 2020 4:58 PM
To: rabbitmq-users <rabbitm...@googlegroups.com>
Subject: [rabbitmq-users] Quorum queues and requeueing
 
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/ff7f2e38-7c3c-4e9f-a991-9a66698c9c37o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages