conduktor.io ↗

KIP-159 — Introducing Rich functions to Streams

Discussion Streams

Introduces Rich function interfaces (RichValueMapper, RichKeyValueMapper, etc.) to Kafka Streams that expose the RecordContext (topic, partition, offset, timestamp, headers) and the record key to value-only operators such as ValueMapper and ValueJoiner. Existing un-rich interfaces provided no access to record metadata or the message key, blocking use cases like conditional routing based on headers or key-aware transformations.

Details

AuthorJeyhun Karimov
StatusDiscussion
JIRAKAFKA-4125
WikiView on Apache Wiki
Created2017-05-20
Last Modified2017-11-06
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.