Stream Processing
Build continuous pipelines that aggregate and join event streams with event-time windows, watermarks, managed state and exactly-once or idempotent sinks.
4 objectives 6 steps about 140 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Distinguish event time from processing time and compute tumbling, sliding and session window aggregates with watermarks that bound lateness.
- Explain how stream processors keep state and checkpoints, and choose a delivery guarantee for a sink (at-least-once with idempotent writes or exactly-once transactions).
- Implement a streaming job (Spark Structured Streaming or Flink) that reads Kafka, enriches events with a stream-table join and writes to a lakehouse table.
- Evolve event schemas under registry compatibility rules and replay a topic to recompute results after a bug fix.
Lesson plan
6 steps, about 140 min · 5 of 5 lessons available so far
- Streams, Tables and Two Kinds of Time Concept · 20 min
- Windows and Watermarks, Event by Event Worked example · 25 min
- State, Checkpoints and Delivery Guarantees Concept · 25 min
- Lab: Kafka to a Lakehouse Table with Structured Streaming Lab · 30 min
- Lab: Schema Evolution and Replaying a Topic Lab · 25 min
- Check: Streaming Correctness Scenarios Knowledge check · 8 questions
Practise it
Produce synthetic clickstream events to Kafka, some out of order and some late; build a streaming job that computes 5-minute page-view counts with a 10-minute watermark, joins a page dimension and writes to an Iceberg or Delta table; kill and restart the job and compare its output with a batch recomputation that applies the same declared lateness and deduplication policy. Define which late events are dropped, quarantined or corrected. Compare with a batch oracle using that same policy, and name the source, checkpoint and sink contract needed for the claimed delivery semantics.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own Message BrokerAdvanced · 15–30 h
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.