Skip to content
Ameen Abozaid
Planned lessonMID-027-L05

RabbitMQ or Kafka?

  • Lesson 5 of 6
  • Mid-level
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

choose a tool for a workload.

Planned topics

  • RabbitMQ: flexible routing, task queues, per-message acks and TTLs, low latency, delete-after-consume. Good for commands and work distribution.
  • Kafka: durable replayable log, high throughput, ordering per partition, many independent consumer groups. Good for event streams and event sourcing.
  • Replay and long retention favor Kafka; complex routing and delayed jobs favor RabbitMQ.
  • Operating cost and team skill matter.
  • Using both is acceptable when each has a clear job.
Draft outline details

Demonstration

a decision table of eight workloads and the preferred broker.

Check your understanding

Which broker lets a new consumer replay old events?

Show answer

Kafka.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.