PrepCity

Late-arriving events

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 5 pages · about 4 min

Late-arriving events

Some orders reach the processor after their window has closed. Drop them, correct the window, or keep them aside for a fix-up: each choice is measured on the same day.

What it is
Events that turn up after their time window has closed, like orders from a phone that was offline for hours.
What it is for
By default they are thrown away without a word, so totals end up short. There are three ways to keep them: correct, set aside, repair.
Use it when
Whenever events come from things that go offline or retry: phones, sensors, partner companies’ feeds.

Words you’ll learn

  • Time window
  • Event time
  • Watermark
  • Late event
  • Stream processor
  • Dashboard
  • Row
  • Upsert
  • Allowed lateness
  • Side output

Page by page