Free roadmap · 8 hands-on labs
Apache Kafka
Run Kafka on a free lab server on your own computer and build a small order-streaming system step by step: produce and consume events in Python, scale out with consumer groups, enforce schemas, move data in and out with Kafka Connect, compute live totals, survive a broker failure, and stream support tickets through a local AI model with checks on every answer. Every lab adds to one repository on your GitHub.
For developers, data engineers and DevOps engineers who work with streaming data. You should be comfortable in a terminal and able to read a little Python. You need a Mac, Windows or Linux computer with about 15 GB free and 8 GB of memory, and 3–4 weeks at a few hours a week.
What you will build
Kafka Streaming Lab
A repository with Python producers and consumers for an order stream, consumer-group and offset experiments, an Avro schema with a tested compatibility rule, Kafka Connect configs, a live order-totals processor, a three-broker Compose cluster with a failure drill and runbook, and an AI ticket classifier that validates every model answer and sends bad ones to a dead-letter topic.
Everything you will install
Commands use Homebrew in the Terminal app. Already have a tool? Skip it.
- A terminalOfficial install page ↗
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Use the Terminal app. The command installs Homebrew, which the other macOS commands use.
- A free GitHub accountOfficial sign-up ↗
- Multipass (a free Ubuntu server on your computer)Official install page ↗
brew install --cask multipassCheck it worked:
multipass version
The path
Lab 1 is open to everyone. Labs 2 to 8 need a free account.
- 1
Kafka basics: brokers, topics and partitions
Kafka stores events in topics, split into partitions and kept on brokers. You start a real Kafka broker on a free lab server, create a topic, and see how keys decide which partition an event lands in.
Learn: What brokers, topics, partitions and offsets are · Running Kafka in KRaft mode (no ZooKeeper) with Docker · Producing and consuming with the command-line tools · Why events with the same key stay in order
AI era: AI assistants explain Kafka concepts well, but they often mix up older ZooKeeper-era commands with today’s KRaft setup. Check every command against the Kafka documentation for your version.
Lab: Start Kafka and send your first events · 60 minutes
- 2
Producers and consumers in Python
Real systems produce and consume events from code. You write a Python producer that sends JSON orders safely and a consumer that reads them, using the confluent-kafka client.
Learn: The confluent-kafka Python client · Delivery reports, acks=all and idempotent producers · Matching the partitioner used by Kafka’s own tools · Polling, deserialising and closing a consumer cleanly
AI era: AI writes producer and consumer code quickly, but often leaves out delivery callbacks, flush() and error handling. Always check that failures are reported, not silently dropped.
Lab: Send and read orders from Python · 60 minutes
- 3
Consumer groups, offsets and delivery guarantees
Consumer groups let several consumers share the work of one topic, and committed offsets decide what is read again after a crash. You watch Kafka split partitions between consumers, measure lag and replay events.
Learn: How a group divides partitions among its members · Committed offsets, lag and rebalancing · At-most-once, at-least-once and exactly-once delivery · Resetting offsets to replay events safely
AI era: Ask AI for "exactly-once" and it may suggest settings that only cover the producer. Delivery guarantees depend on when you commit; test the failure cases yourself.
Lab: Share the work and replay events · 60 minutes
- 4
Schemas and Schema Registry
When many services share a topic, one bad message can break every consumer. You define an Avro schema, register it in Schema Registry, and let the registry reject changes that would break readers.
Learn: Why events need a contract · Avro schemas and serialising events from Python · Schema Registry subjects and versions · Backward compatibility: safe and unsafe schema changes
AI era: AI is good at drafting schemas from sample data. Review every field’s type and default yourself: a schema is a contract other teams depend on, and changing it later is hard.
Lab: Enforce an order schema · 75 minutes
- 5
Kafka Connect: moving data in and out
Kafka Connect moves data between Kafka and other systems without custom code. You run a Connect worker with the file connectors that ship with Kafka, stream lines from a file into a topic and out to another file, and manage connectors over its REST API.
Learn: Source and sink connectors, workers and tasks · Standalone and distributed mode · Converters: how bytes become records · Checking connector status over the REST API
AI era: AI can draft connector configs for databases and cloud services, but it invents properties that do not exist. Check every property against the connector’s own documentation and test on lab data first.
Lab: Stream a file through Kafka · 60 minutes
- 6
Stream processing
Stream processing turns events into live results as they arrive. You build a processor that keeps running totals per customer and publishes them to a compacted topic, the pattern behind Kafka Streams and Flink.
Learn: Consume, transform, produce: the stream-processing loop · Keeping state and rebuilding it after a restart · Compacted topics: the latest value per key · When to use Kafka Streams, Flink or plain consumers
AI era: AI can write a processor in minutes. The hard parts are state, restarts and duplicates. Test what happens when your processor stops halfway and starts again.
Lab: Live order totals per customer · 75 minutes
- 7
Monitoring and running Kafka in production
Production Kafka runs as a cluster so that losing one broker loses no data. You run three brokers with Docker Compose, replicate a topic three ways, stop a broker on purpose, and write the runbook for it.
Learn: Replication factor, in-sync replicas and min.insync.replicas · Leaders, followers and what happens when a broker fails · The signals to watch: under-replicated partitions and consumer lag · Writing a runbook for a broker failure
AI era: AI can summarise broker logs and suggest causes during an incident. Treat its answer as a lead, not a diagnosis: confirm it with `kafka-topics --describe` and the metrics before you act.
Lab: Survive a broker failure · 75 minutes
- 8
Streaming data into an AI pipeline
Kafka feeds AI systems with fresh data. You stream support tickets through a free local AI model that labels each one, check every answer, and send anything the model gets wrong to a dead-letter topic for a person to review.
Learn: Calling an AI model from a Kafka consumer · Validating model output before it reaches other systems · Dead-letter topics for events that fail processing · Keeping a person in control of what the AI decides
AI era: Models sometimes return labels you did not ask for. In a pipeline, every model answer is untrusted input: check it against the allowed values and route failures to people.
Lab: Classify support tickets with a local model · 90 minutes
Jobs you can apply for
Titles vary between companies. Entry roles need the first stages and a finished project; advanced roles usually also need work experience.
Data Engineer Entry
Builds pipelines that move and transform data between systems, increasingly in real time.
Prepared by labs 1, 2, 4, 5, 6
Backend Developer Entry
Builds services that publish and react to events instead of calling each other directly.
Prepared by labs 1, 2, 3, 4
Streaming Data Engineer Mid
Designs topics, schemas and stream processors for live data products.
Prepared by labs 1, 2, 3, 4, 5, 6
Kafka Administrator Mid
Runs Kafka clusters: capacity, replication, upgrades, monitoring and incident response.
Prepared by labs 1, 3, 7
Platform Engineer Mid
Provides Kafka and its tooling as a reliable internal platform for other teams.
Prepared by labs 3, 4, 5, 7
Site Reliability Engineer Mid
Keeps streaming systems available with monitoring, runbooks and automation.
Prepared by labs 3, 7
AI Data Engineer Advanced
Feeds AI systems with fresh, validated data and handles their output safely.
Prepared by labs 2, 4, 6, 8
Ready to apply?
PleinIQ Job Agent finds open jobs with these titles every day, tailors your resume to each one and fills in the application. You press Submit.