internalsGet Pro

Module 10 · Lesson 2 of 13Pro

Event time vs processing time

Level
Intermediate
Topic
Stream processing with Flink
Reading time
16 min

When you finish this page you can

  1. Name the three times a click carries in Kartly’s pipeline, and which machine’s clock sets each one.
  2. Predict how a restart, a backlog or a late phone changes counts made by processing time and by event time.
  3. Declare an event-time column and a processing-time column on a Kafka table in Flink SQL.
  4. Choose the clock for a streaming result from the question it answers, and say what would change the choice.

Builds on 2 lessons

Start with lesson 114 min
  1. Stream processing: computing on data in motion14 min
  2. Design: a clickstream pipeline for an online store28 min

A restart put 70,000 views in ten seconds

is an online store in India. Its apps send about 200 million click events a day to the Kafka topic kartly.clicks. Meera, a data engineer, is building live-dashboard: an job that counts product views and add-to-carts per product every 10 seconds, for the dashboard the merchandising team watches during sales.

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