Kafka by Investigation
A hands-on, prediction-first course for Java and Spring Boot developers: five exercises on a real Kafka 3.9 cluster on your own machine, every command verified and its observed output recorded. Solutions stay separate until you have tried.
Download the pack (ZIP) Read the README first
The five exercises
- Exercise 01 — First message — is Kafka a queue? what does reading move?portal scenario: first-message
- Exercise 02 — Keys and partitions — where records land, what is orderedportal scenario: partition-anatomy
- Exercise 03 — Consumer groups — assignment and the live rebalanceportal scenario: consumer-lag-arithmetic
- Exercise 04 — Retries and the dead-letter topic — two ways to failportal scenario: idempotent-duplicates · retryable-topic-dlt
- Exercise 05 — Capstone — the order investigation, evidence-firstportal scenario: retryable-topic-dlt
Solutions — attempt first
Course documents
Honesty
Every exercise was actually run on 2026-11-21 (Kafka 3.9.0, 3-broker KRaft; Spring Boot 3.5.7 / spring-kafka 3.3.10; JDK 25). What could not be verified is labeled UNVERIFIED with the reason — see VERIFICATION.md. This is an educational product, not a certification or a job guarantee.