Labs โ€บ Kafka-like message queue0 / 12

Step 1 of 12 ยท Intro

Design a Kafka-like message queue

A durable, partitioned log that producers append to and consumer groups replay.

How it works

  • โ€บProduce: append a message to a partition chosen by its key.
  • โ€บFetch: consumers read a partition from an offset they track.
  • โ€บReplicate: each partition has a leader and followers on other brokers.

What you'll build

  1. The API and the log schema
  2. A stream with consumer workers
  3. Fan-out to several consumer groups
  4. Partitioned brokers and wide consumer groups at 120k messages/s
  5. A design that survives a lost broker, a lost consumer and a lost offset store