Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Quorum queues for RabbitMQ on Amazon MQ
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.