DE Mastery GitHub

Apache Kafka · Build your own · KFK-BYO

Build your own mini Kafka

  • 10 h
  • 8 stages

Build the real thing from scratch, one stage at a time. Each stage has its own tests, and you move on when it passes.

  1. 01ApiVersions over TCP
  2. 02A segmented log with an offset index
  3. 03Produce: RecordBatch v2 + CRC32C
  4. 04Fetch by offset
  5. 05Metadata + multiple topics & partitions
  6. 06Retention and log compaction
  7. 07Consumer-group offsets (OffsetCommit / OffsetFetch)
  8. 08Replication & the high watermark
Run it locally
uv run de start KFK-BYO/01
uv run de test