Streaming Data Systems
Data that never stops: events, logs, windows and state.
How data flows in real time: the append-only log, partitions and replication, change data capture and schemas, delivery guarantees, event time, windows, state and checkpoints, streaming SQL, and running pipelines at scale. Vendor-neutral: Apache Kafka, Redpanda and Pulsar, the clouds' own streaming services, and Flink, Spark, Kafka Streams and Beam side by side. By the end you can design a streaming pipeline and predict how it behaves when things go wrong.
- 7
- chapters
- 23
- modules
- ~10h
- of learning
- 23
- live now
Take modules in any order. The route suggests one that builds up naturally.
has a live module in progress complete
Take a look inside
The big picture, before the details
One payments pipeline, from the phone to every place a payment ends up. Watch the tour, or click any part.
Producers: the payments app publishes each payment as an event, the moment it happens (module 2).
A taste of module 18: one bad payment blocks a partition. Try four ways to handle it.
Partition 0 · payments #1–#12
Processed
3 / 12
Dead-letter topic
empty
The consumer fails on #4, doesn't commit, reads #4 again, fails again… The partition is blocked and lag grows for ever. This is a poison pill.
The big picture
Why process data as it happens, and the log at the heart of it.
2 modules · 45 min
The log
How Kafka-style platforms split, share, protect and keep the log.
5 modules · 120 min
Core
Partitions and ordering
Spreading a topic across machines without losing the order that matters.
Core
Consumer groups and offsets
Sharing the reading among many workers, and remembering where each got to.
Core
Durability and replication
Copies of every partition, and what a write acknowledgement really promises.
Core
Retention, compaction and tiered storage
How long the log keeps events, and how to keep only what matters.
Core
The platforms compared
Kafka, Redpanda, Pulsar and the clouds' own streaming services.
Getting data in and out
Turning databases into streams, keeping events readable, and delivering them once.
3 modules · 75 min
Core
Change data capture and the outbox
Turning every database change into an event, without dual writes.
Core
Schemas and evolution
Agreeing what an event looks like, and changing it without breaking readers.
Core
Delivery guarantees
At most once, at least once, exactly once, and what each really costs.
Processing streams
Transforming, timing, windowing and joining events as they flow.
6 modules · 150 min
Core
Filter, map, route
The simple building blocks of a stream pipeline.
Core
Event time vs processing time
When something happened, versus when you heard about it.
Core
Windows
Grouping an endless stream into finite pieces you can count.
Deep dive
State and joins
Remembering things between events, and joining streams to tables and to each other.
Deep dive
Checkpoints and exactly-once processing
Crashing mid-stream and carrying on as if nothing happened.
Core
Streaming SQL
Queries that never finish, and views that keep themselves up to date.
Operating streams
Keeping pipelines healthy under load, errors and bills.
3 modules · 70 min
Applied
Backpressure and lag
What happens when events arrive faster than you can handle them.
Applied
Errors, retries and dead-letter queues
Handling the one bad message without stopping everything.
Applied
Sizing and cost
Partitions, throughput and what streaming really costs to run.
Streams meet storage
Landing streams in the lakehouse and serving them live.
2 modules · 45 min
In practice
Event-driven designs and a capstone pipeline.
2 modules · 65 min