Stream Processing Window Types
Stream Processing Window Types
Different windows answer different questions. A tumbling window divides time into fixed, non-overlapping blocks, such as each minute. A sliding window also has a fixed length, but starts again at a set interval, so blocks can overlap. A session window groups events until a period of inactivity ends the session. A count window groups a set number of events, even if they span different amounts of time. Try the animation to see how the same flow can be grouped in each way.