Kafka, RabbitMQ & Queues
Quorum queues
A quorum queue replicates each message to several nodes and commits it once a majority stores it, which keeps confirmed messages through a node failure at the cost of some latency.
What you will be able to do
- Explain how a quorum queue commits a message after a majority of members store it.
- Decide how many members a queue needs for the failures it must survive.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Kafka, RabbitMQ & Queues
- Topic routingAdvanced · 4 min
A topic exchange routes by matching the words of a dotted routing key against patterns, where star matches one word and hash matches zero or more, so word count decides…
- Fanout routingAdvanced · 4 min
A fanout exchange copies every message to every bound queue and ignores the routing key, which suits events many services need in full, but each extra binding adds a…
- Consumer acknowledgmentsAdvanced · 4 min
A manual ack tells the broker that a consumer finished the work, so until that ack arrives the broker holds the message and returns it to the queue if the consumer dies.
- Prefetch tuningAdvanced · 4 min
Prefetch sets how many unacknowledged messages each consumer may hold, where a large window favors throughput for quick uniform work and a small window spreads slow…
- Poison messagesAdvanced · 4 min
A poison message fails on every attempt, so a requeue loop turns one bad message into a blocked queue, and permanent errors should be rejected while a delivery limit…
- Retry delay queuesAdvanced · 4 min
A retry delay queue uses a TTL and a dead letter exchange to hold a failed message for a fixed wait, then return it to the work queue, so the consumer stays free.