KIP-1127 — Flexible Windows for Late Arriving Data
Discussion Streams
Adds a new `FlexibleWindows` window type to Kafka Streams that retains open windows indefinitely until explicitly closed by a grace period expiry or new records, rather than discarding late-arriving records that fall outside a fixed window end time. Existing Kafka Streams window types (tumbling, hopping, sliding, session) all rely on event-time boundaries and discard truly late data, which breaks use cases such as micro-batching by offset order where no record should ever be dropped.
Details
| Author | Almog Gavra |
| Status | Discussion |
| JIRA | KAFKA-18626 |
| Wiki | View on Apache Wiki |
| Created | 2025-01-23 |
| Last Modified | 2025-02-24 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.