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
| Author | Luke Chen |
| Status | Discussion |
| JIRA | KAFKA-12839 |
| Wiki | View on Apache Wiki |
| Created | 2021-07-23 |
| Last Modified | 2021-07-24 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.