Self-test
Check your understanding
Self-test10 questions
List the four reasons a message is dead-lettered and what causes each.
What's in the
x-deathheader, and how would you use it for retries?In RabbitMQ 4, what counts toward a quorum queue's delivery limit, and what doesn't? What bug does that cause?
Which errors should be rejected without requeue immediately, and which deserve a delayed retry?
Explain the TTL wait-queue retry pattern. Why use one wait queue per delay?
What does a resource alarm do to publishers and consumers, cluster-wide?
Why does a blocked publisher look like a frozen application, and how do you defend against that?
When would you choose
drop-headversusreject-publishoverflow?Why does RabbitMQ prefer short queues, and how do you design for backpressure?
- Design question
Design retry handling for a webhook-delivery service: 5 attempts with exponential backoff up to 1 hour, then parking, with alerting and a replay tool.