☰
Kafka, Hands-On
Lab setup
Glossary
Download the lab (zip)
1. First events at Brightlane
Why Brightlane needs an event log
Brokers, controllers and partitions
Records, offsets and replay
Exercises
Solutions
Quiz
2. Writing events: producers
Keys decide order
Durable writes: acks, replicas and idempotence
Batching, compression and throughput
Exercises
Solutions
Quiz
3. Reading events: consumers
Consumer groups share the work
Committing offsets: where processing resumes
Rebalances and the new group protocol
Work queues with share groups
Exercises
Solutions
Quiz
4. Inside the cluster: replication and storage
Leaders, followers and failover
Segments, retention and deleting data
Compacted topics: the latest value per key
Exercises
Solutions
Quiz
5. Data contracts: schemas and bad data
Schemas and the Schema Registry
Evolving a schema without breaking readers
Poison pills and dead-letter topics
Exercises
Solutions
Quiz
6. Moving data in and out: Kafka Connect and CDC
Change data capture from PostgreSQL
Sinks, errors and dead letters in Connect
Exercises
Solutions
Quiz
7. Stream processing in Python
Exactly-once billing with transactions
State: turning a stream into a table
Event time and windows
Exercises
Solutions
Quiz
8. Securing and operating the cluster
Encryption and authentication
Authorization and quotas
Observability: metrics, lag and alerts
Day-2 operations: change without downtime
Exercises
Solutions
Quiz
9. Production-ready Brightlane
Disaster recovery with MirrorMaker 2
Testing Kafka applications
The production-readiness review
Exercises
Solutions
Quiz
Module 7 quiz
Choose an answer for each question, then press
Check
. Explanations appear after checking.