Apache Beam — windowing functions

Neeraj Sabharwal
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…

--

--

Neeraj Sabharwal

Passionate about helping founders on their sales challenges. Technical background and now running sales.