conduktor.io ↗

KIP-765 — Introduce new SlidingWindow type for [start,end] time

Discussion Streams

Introduces a new `SlidingWindow` class with a closed `[start, end]` time interval (inclusive on both sides) to correctly represent the semantics of sliding window aggregations in Kafka Streams. The existing `TimeWindow` uses a half-open `[start, end)` interval, which misrepresents the intended semantics of sliding windows where the end time should be inclusive.

Details

AuthorLuke Chen
StatusDiscussion
JIRAKAFKA-12839
WikiView on Apache Wiki
Created2021-07-23
Last Modified2021-07-24
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.