Quorum queues for RabbitMQ on Amazon MQ - Amazon MQ
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Quorum queues for RabbitMQ on Amazon MQ

Important

Quorum queues are only available for brokers on Amazon MQ for RabbitMQ version 3.13 and above.

Quorum queues are a replicated queue type made up of a leader (primary replica) and followers (other replicas). If the leader becomes unavailable, quorum queues uses the Raft consensus algorithm to elect a new leader node by majority of votes, and the previous leader is demoted to a follower node in the same cluster. The remaining followers continue replicating as before. Because each node is in a different availability zone, if one node is temporarily unavailable, message delivery continues with the newly elected leader replica in another availability zone.

Quorum queues are useful for handling poison messages, which occur when a message fails and is requeued multiple times.

You should not use quorum queues if you:

  • use transient queues

  • have long queue backlogs

  • prioritize low latency

To declare a quorum queue, set the header x-queue-type to quorum.