Apache Beam — windowing functions
2 min readApr 22, 2019
- Fixed Time Windows
The simplest form of windowing is using fixed time windows: given a timestamped PCollection
which might be continuously updating, each window might capture (for example) all elements with timestamps that fall into a five-minute interval.
- Sliding Time Windows
A sliding time window also represents time intervals in the data stream; however, sliding time windows can overlap. For example, each window might capture five minutes worth of data, but a new window starts every ten seconds. The frequency with…