Skip to content

Build Kafka

Build a Kafka-style log: append-only segmented storage, partitions for parallelism, leader-follower replication with ISR, producers with batching/idempotency/transactions, consumer groups with rebalancing, exactly-once semantics, monitoring.

advanced14 lessons4 chapters14 graded exercisesPython

No sign-up needed for lesson 1 · certificate on completion · sign up to save progress

What you’ll have built

Chapter by chapter. Every step is a graded exercise.

  • Log-Structured Storage
  • Producers & Consumers
  • Replication & HA
  • Production
Starts in Python — solve in the language you choose in the editor, same tests either way.

Curriculum

4 chapters, 14 lessons. Each lesson is a short read, one graded exercise, and a quiz.

  1. 1What Kafka SolvesRead · exercise · quiz
  2. 2The Log: Append-Only StorageRead · exercise · quiz
  3. 3PartitionsRead · exercise · quiz
  4. 4Wire FramingRead · exercise · quiz
  5. 5Log CompactionRead · exercise · quiz
Loading reference solution…