internalsGet Pro

Module 10 · Lesson 6 of 13Pro

Checkpoints: recovering without losing results

Level
Advanced
Topic
Stream processing with Flink
Reading time
18 min

When you finish this page you can

  1. Trace how checkpoint barriers give a Flink job one consistent snapshot of its state and its Kafka offsets.
  2. Work out what a job replays after a crash, and which results it writes a second time.
  3. Choose between a two-phase commit sink and upserts keyed by window to keep a sink exactly-once.
  4. Upgrade a stateful job with a savepoint without losing or double-counting its state.
  1. Delivery guarantees in Kafka pipelines18 min
  2. Watermarks: deciding when late events stop counting17 min
  3. Stateful stream processing and state backends18 min

One evicted pod, 50,000 extra views

is an online store in India. Its apps send about 200 million click events a day to the Kafka topic kartly.clicks. A job, live-dashboard, counts product views and add-to-carts per product in 10-second windows and writes each window to . The merchandising team watches the result on the live dashboard, which must stay under 1 minute behind.

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