conduktor.io ↗

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

AuthorDamian Guy
StatusAccepted
JIRAKAFKA-3452
WikiView on Apache Wiki
Created2016-11-21
Last Modified2016-12-09
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.