Apache Kafka — Event Streaming from Basics to a Platform Service
Learning Hub / Data & Event Streaming

Apache Kafka — Event Streaming from Basics to a Platform Service

Beginner → Advanced17 lessonsAvailable

Start by placing Kafka next to monitoring and logging tools, then why systems need an event log at all and what Kafka is (and is not). Run a real KRaft cluster, in Docker or on your own Kubernetes cluster, and learn every core idea with the command-line tools: topics, partitions, offsets, keys, consumer groups and lag. Then go inside: how producers batch and acknowledge, how consumer groups share work and rebalance, how replication, ISR and min.insync.replicas protect data, how retention and compaction work, and what at-least-once and exactly-once really mean. Add the ecosystem (schemas and a registry, Kafka Connect and change data capture, stream processing), then operate it: Kafka on Kubernetes with Strimzi and the managed options, security with TLS, SASL, ACLs and quotas, monitoring and troubleshooting, capacity, performance and disaster recovery. It finishes by designing Kafka as a multi-tenant, self-service platform capability.

You'll meetApache Kafkaevent streamingKRaftbrokertopicpartitionoffsetconsumer groupconsumer lagreplicationISRmin.insync.replicasacksidempotent producerexactly-oncelog compactionSchema RegistryAvroKafka ConnectDebeziumCDCKafka StreamsFlinkStrimziMSKACLsquotasMirrorMaker 2
Start lesson 01 →

What you'll be able to do

  • Tell monitoring (Prometheus, Grafana), logging (EFK) and Kafka apart, and choose the right one for a need
  • Explain why event streaming exists, how a log differs from a queue, and when Kafka is the wrong choice
  • Run Kafka in Docker or on an existing Kubernetes cluster with Strimzi, and connect an application to it
  • Run a KRaft cluster and use the CLI to create topics, produce, consume, inspect groups and reset offsets
  • Tune producers and consumers for throughput, ordering and safe delivery
  • Explain replication, ISR, min.insync.replicas and what happens when brokers fail
  • Choose between retention and compaction, and design for at-least-once or exactly-once processing
  • Evolve event schemas safely and move data in and out with Kafka Connect and CDC
  • Run Kafka on Kubernetes or a managed service, secure it, monitor it and plan its capacity and DR
  • Design Kafka as a multi-tenant, self-service platform capability

Before you start

Basic Linux command line and Docker. Kubernetes basics for the operations section.

How it works

Each lesson: plain-language idea → how it really works → hands-on. Each section ends with a cheat sheet & self-check.

Curriculum

Lessons marked “Read” are ready; the rest are on the way.

Real-world scenarios

Work through each one: symptom → misleading signal → evidence → root cause → prevention.

Consumer lag keeps growing

One consumer group falls hours behind after a release. Find whether the producer, the consumer or one message is the cause, and fix it.

We lost messages when a broker died

A producer reported success but data disappeared after a broker failure. Explain the settings that allowed it and the ones that prevent it.

One team took the cluster down

A new service floods a shared cluster. Contain it today and design the guardrails so it cannot happen again.

This site is a public version of my personal engineering knowledge hub. It intentionally excludes confidential company information and internal operational details.