internalsGet Pro

Module 10 · Lesson 10 of 13Pro

Flink, Spark Streaming or Kafka Streams

Level
Intermediate
Topic
Stream processing with Flink
Reading time
17 min

When you finish this page you can

  1. Explain how Flink, Spark Structured Streaming and Kafka Streams each run a streaming job, and what each needs from your platform.
  2. Compare where each keeps state, how it recovers, and what its exactly-once promise covers.
  3. Size the cores each engine needs for the same job, from its partitions and execution mode.
  4. Choose an engine for a streaming job, and name the conditions that would change the choice.

Builds on 4 lessons

Start with lesson 114 min
  1. Stream processing: computing on data in motion14 min
  2. Checkpoints: recovering without losing results18 min
  3. Spark architecture: driver, executors and tasks17 min
  4. Delivery guarantees in Kafka pipelines18 min

A third engine needs a reason

is an online store in India. Its apps send about 200 million click events a day to Kafka, and its checkout sends every payment attempt there too. Meera, a data engineer, is building two streaming jobs on : live-dashboard, which counts product views and add-to-carts for the festival dashboard, and fraud-signals, which counts payment attempts per card, device and address for the checkout’s risk check.

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