conduktor.io ↗

KIP-313 — Add KStream.flatTransform and KStream.flatTransformValues

Accepted Kafka 2.2 Streams

KIP-313 adds `KStream.flatTransform()` and `KStream.flatTransformValues()` operators to the Kafka Streams DSL, enabling stateful one-to-many record transformations. The existing `KStream.transform()` only supports one-to-one (or zero-to-one) transformations via `Transformer`, requiring users to drop to the lower-level Processor API for stateful fan-out operations.

Details

AuthorBruno Cadonna
StatusAccepted
Kafka Version2.2
JIRAKAFKA-4217
WikiView on Apache Wiki
Created2018-06-08
Last Modified2019-04-16
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.