Learn
Learn Kafka
An academy for Java and Spring Boot developers: event streaming, distributed messaging and production-grade Kafka architecture.
- Understand
- Visualise
- Build
- Break
- Fix
Start hereStart with Kafka FoundationsLesson 1 · What Kafka is and why it exists · 20 min
Your progress
Details0% · 0 / 59 lessons · 0 / 15 labs
Try it: build, break, fix
- BuildBreak labsGet a small system working, inject a failure, read the simulated logs and metrics, fix it and test again.0 / 15 labs · simulations, not a real cluster
- Interview scenariosSomething has gone wrong. Pick an approach, watch what it does on a simulated cluster, then compare with a model answer.16 scenarios · Spring Kafka code · simulations, not a real cluster
- Example projectOrder, payment, inventory and notification services on Spring Boot and Kafka, read chapter by chapter with every file.10 chapters · 92 files
Learning paths
In order, or jump in
- Path 1: Kafka FoundationsWhat Kafka is, why it exists, how event streaming differs from messaging, and when not to reach for it.0 / 6 lessons
- Path 2: Kafka Architecture and InternalsBrokers, topics, partitions, replication, the log on disk, and how KRaft runs the cluster.0 / 8 lessons
- Path 3: Kafka ProducersHow records are serialised, partitioned, batched, acknowledged and retried, and what each setting costs.0 / 5 lessons
- Path 4: Kafka ConsumersThe poll loop, consumer groups, offsets, rebalancing and lag.0 / 5 lessons
- Path 5: Message Delivery SemanticsAt-most-once, at-least-once and exactly-once, and where Kafka's guarantees stop and your database's begin.0 / 5 lessons
- Path 6: Reliability and Error HandlingWhat fails, how it shows up, and how retries, dead letter topics and idempotency contain it.0 / 5 lessons
- Path 7: Distributed Systems Design PatternsOutbox, CDC, sagas, event sourcing, CQRS and the messaging patterns built on Kafka.0 / 8 lessons
- Path 8: Performance and ScalabilityThroughput, latency, partition counts, hot partitions, backpressure and scaling the cluster.0 / 5 lessons
- Path 9: Spring Boot and Java IntegrationSpring for Apache Kafka on Java 21 and Spring Boot 3: templates, listeners, error handling, transactions and tests.0 / 6 lessons
- Path 10: Production Kafka EngineeringMonitoring, failures, upgrades, security, multi-region replication and schema evolution.0 / 6 lessons
Everything interactive here is a deterministic simulation: there is no Kafka broker behind these pages. Progress, bookmarks and notes are kept in this browser only.