conduktor.io ↗

KIP-147 — Add missing type parameters to StateStoreSupplier factories and KGroupedStream/Table methods

Discarded Streams

KIP-147 adds proper generic type parameters to `StateStoreSupplier` and the `KGroupedStream`/`KGroupedTable` aggregation methods that accept store suppliers, enabling the compiler to catch type mismatches (e.g. passing a `WindowStore` supplier to a `KeyValueStore`-expecting method) at compile time. The raw-typed `StateStoreSupplier` argument in aggregation APIs prevents IDE and compiler tooling from detecting incorrect store type pairings during refactoring.

Details

AuthorMichal Borowiecki
StatusDiscarded
WikiView on Apache Wiki
Created2017-04-30
Last Modified2017-11-10
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.