What are RabbitMQ's quorum queues?

Answer

Quorum queues are RabbitMQ's modern replicated queue type that uses the Raft consensus algorithm for data safety. They replaced classic mirrored queues (deprecated in RabbitMQ 3.12). How they work: quorum queues are replicated to a configurable number of nodes (default 3). A write is confirmed when a majority (quorum) of nodes acknowledge it. A quorum queue continues to operate as long as a majority of its replicas are available. Key advantages over classic mirrored queues: No message loss on leader failure: Raft guarantees no committed message is lost. Simpler consistency: no split-brain scenarios. Better performance: lower write amplification. Configuration: {"x-queue-type": "quorum"}. Limitations: quorum queues are always durable and cannot be exclusive. They use more disk space (Raft log). Not suitable for very high-frequency consumer cancel/reconnect patterns. Use quorum queues for any production queue requiring high availability and data safety.