Data ingestion batch watermark calculator

Calculate final watermark from your inputs.

Your inputs

Separate numbers with commas or spaces.
Input format

Use this format with your own values:

10,20,12,30

Use the units shown.

Final watermark (seconds)
25
Late event row numbers
3
Late event count
1

Your calculation
How is this calculated?

Subtract allowed lateness from maximum event timestamp.

Compare each event with the watermark established by earlier arrivals.

Count events strictly below their prior watermark.

Conceptual continuous-time watermark before an event is maximum timestamp of previous arrivals minus allowed lateness; engine-specific millisecond offsets are not modeled. An event is late only if below that watermark; equality is accepted.

Apache Flink Generating Watermarks ↗

Try an example

Worked example

Final watermark (seconds): 25

Inputs
  • Event timestamps in arrival order (seconds): 10,20,12,30
  • Allowed lateness (seconds): 5

Compare inputs

Final watermark (seconds): 20

Inputs
  • Event timestamps in arrival order (seconds): 10,20,12,30
  • Allowed lateness (seconds): 10
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.