Tumbling Window Function in Streaming Analytics

2022-08-16 streaming-analyticsstreaming-window-functions

Under streaming analytics context, a tumbling window function segments a data stream into distinct time segments and then do aggregation against them.

Events can only belong to one single tumbling window and each tumbling window doesn't overlap with others.

This diagram shows tumbling window function with 20 seconds as window duration.

Time (seconds)
[Not supported by viewer]
0
[Not supported by viewer]
10
[Not supported by viewer]
20
[Not supported by viewer]
30
[Not supported by viewer]
40
[Not supported by viewer]
50
[Not supported by viewer]
60
[Not supported by viewer]
Events
[Not supported by viewer]
Window
[Not supported by viewer]
Tumbling Windows with 20 seconds as window duration
[Not supported by viewer]
4 events
[Not supported by viewer]
3 events
[Not supported by viewer]
1 event
[Not supported by viewer]