conduktor.io ↗

KIP-645 — Replace Windows with a proper interface

Discarded Streams

Refactors `Windows` from an abstract class to an interface in the Kafka Streams DSL so custom window types can be implemented without inheriting from a class that imposes opinionated fields. The abstract class forced concrete implementations to carry fields like `maintainDurationMs` and `gracePeriodMs` that don't apply to all window semantics, and blocked composition with other interfaces.

Details

AuthorJohn Roesler
StatusDiscarded
JIRAKAFKA-10298
WikiView on Apache Wiki
Created2020-07-21
Last Modified2021-01-13
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.