KIP-94 — Session Windows
Accepted Streams
Adds session window support to Kafka Streams DSL via `KGroupedStream.windowedBy(SessionWindows.with(...))`, grouping records into variable-length windows that extend whenever a new record arrives within an inactivity gap. Fixed-size (tumbling/hopping) windows cannot model user activity sessions, which have no predetermined duration and are defined by gaps in activity rather than a fixed time interval.
Details
| Author | Damian Guy |
| Status | Accepted |
| JIRA | KAFKA-3452 |
| Wiki | View on Apache Wiki |
| Created | 2016-11-21 |
| Last Modified | 2016-12-09 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.