internalsGet Pro

Module 10 · Lesson 1 of 13Pro

Stream processing: computing on data in motion

Level
Beginner
Topic
Stream processing with Flink
Reading time
14 min

When you finish this page you can

  1. Explain why adding instances to a hand-written consumer doesn’t scale a per-product count when the topic is keyed by something else.
  2. Describe a stream processing job as operators connected in a graph, each run as parallel subtasks.
  3. Name the four things a stream processor adds to a consumer loop: keyed parallelism, local state, event-time windows and checkpoints.
  4. Estimate a windowed job’s per-subtask rate, its state size and how much it re-reads after a crash.
  1. Kafka consumers: groups, commits and rebalancing17 min
  2. Delivery guarantees in Kafka pipelines18 min
  3. Design: a clickstream pipeline for an online store28 min

A dashboard that needs a count every 10 seconds

It’s Monday 6 December 2027 at , an online store in India. Its apps send every product view and add-to-cart to the Kafka topic kartly.clicks: about 2,300 clicks a second on a normal day, about 50,000 a second at a festival sale.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan