Menu

Course · Streaming & orchestration

Kafka for Data Engineers

Kafka is a distributed log used for streaming data. Learn topics, partitions, consumer groups and delivery semantics before building streaming pipelines.

Lessons
12
Interview questions
18
Projects & case studies
28
Reading time
~3 h

Your progress

Saved in this browser only

Course structure

Practise

Practice

Lessons

Work through the lessons in order. Completed lessons show a tick; lessons you have opened are outlined.

Start here

The complete overview of the course in one read.

  1. Kafka and Real-Time Data EngineeringKafka for real-time data engineering: logs, partitions and consumer groups, delivery semantics, schemas, stream processing, CDC and operating pipelines.Intermediate3 min

Beginner

Core concepts you will use every day.

  1. Kafka Topics, Partitions and Consumer GroupsHow Kafka topics split into partitions, how keys decide ordering, what replication factor protects, and how consumer groups divide partitions between consumers.Beginner22 min

Intermediate

Patterns used in production pipelines.

  1. Kafka Log Storage: Segments, Retention, Compaction and Topic ConfigurationKafka log storage: segment files, time and size retention, log compaction and tombstones that keep the latest value per key, and tiered storage.Intermediate22 min
  2. Kafka Producers: acks, Batching, Compression, Idempotence and OrderingKafka producer settings: acks and durability, idempotence, batching with linger.ms, compression, partitioners, retries, in-flight requests and buffering.Intermediate17 min
  3. Kafka Consumers: Poll Loop, Offsets, Commits and LagKafka consumers and offsets: the poll loop, committed offsets, auto vs manual commits, consumer lag, seeking and replay, deserialisation errors, fetch sizing.Intermediate23 min
  4. Kafka Consumer Groups and RebalancingKafka consumer groups and rebalancing: the group coordinator, eager vs cooperative vs KIP-848 protocols, sticky assignor, static membership, partition moves.Intermediate16 min
  5. Kafka Connect and Debezium CDCKafka Connect and Debezium: source and sink connectors, workers, converters, SMTs, offsets, dead-letter queues, and Postgres change data capture.Intermediate20 min
  6. Kafka Schema Registry and Schema Evolution: Compatibility ModesKafka Schema Registry and schema evolution: wire format, subjects, Avro and Protobuf evolution rules, compatibility modes and safe rollouts.Intermediate17 min
  7. Kafka vs Queue-Based Messaging for Data PipelinesKafka vs message queues: when a distributed log fits and when a queue does, compared on retention, replay, ordering, fan-out, acknowledgement and Kinesis.Intermediate8 min

Advanced

Performance, internals and edge cases.

  1. Kafka Replication: Leaders, ISR, min.insync.replicas and KRaftKafka replication and ISR: leaders and followers, min.insync.replicas, unclean leader election, the high watermark, rack awareness and KRaft.Advanced20 min
  2. Kafka Delivery Semantics: At-Most-Once, At-Least-Once and Exactly-OnceKafka delivery semantics: at-most-once, at-least-once and exactly-once, how transactions and read_committed work, and exactly-once effects in external sinks.Advanced19 min
  3. Kafka Streams Basics: KStream, KTable, Windows, Joins and StateKafka Streams basics: KStream and KTable, stateless and stateful operations, windowed aggregations, joins and co-partitioning, state stores, exactly-once.Advanced13 min

Projects and case studies

Apply what you learned and prepare material to discuss in interviews.

Projects

System design case studies

Resources

Cheat sheets

Related courses

Plan your learning

Search
Filter by type