fixedwindow
Fixed window is a windowing strategy used in stream and batch data processing in which the input data stream is partitioned into non-overlapping, fixed-duration intervals. Each interval, or window, has a defined start and end time, and every event is assigned to exactly one window based on its timestamp. For example, with a 5-minute fixed window, events with timestamps from 12:00:00 to 12:04:59.999 belong to the 12:00–12:05 window.
Within each window, computations such as counts, sums, averages, or other aggregations are performed independently. The
Common use cases for fixed windows include generating regular interval metrics, such as per-minute or per-hour
Implementation considerations include how to handle late data and out-of-order events. Watermarks and allowed lateness are
Related concepts include tumbling windows (often used interchangeably with fixed windows in many systems), sliding windows,