Queues, Kafka & Resilience Patterns

Question bank: queues vs logs, Kafka partitions and the KIP-848 rebalance protocol, lag that lies, DLQ redrive, the real scope of exactly-once, retry budgets, deadlines, breakers, backpressure, shedding and degradation ladders.

About 110 minutes · 26 exam questions · 25 interview questions · 2 code labs

What you will learn

  1. Queues — work distribution vs replayable log
  2. Kafka — partitions are the unit of order, parallelism and pain
  3. Kafka rebalancing — classic protocol vs KIP-848
  4. Consumer lag — the metric that can lie
  5. Dead Letter Queue — a parking lot with an owner
  6. Exactly-once semantics — what Kafka actually guarantees
  7. Retries — transient only, one layer, on a budget
  8. Timeouts — stop waiting AND stop working
  9. Circuit Breaker — fail fast when a dependency is clearly broken
  10. Backpressure — make the producer slow down
  11. Load shedding — refuse work you cannot finish in time
  12. Graceful degradation — a smaller product, on purpose

Previous: Consistency, Consensus, Locks, Sagas & Event-driven Patterns · Next: Microservices, Observability, SLOs, Releases & Disaster Recovery