conduktor.io ↗

KIP-149 — Enabling key access in ValueTransformer, ValueMapper, and ValueJoiner

Accepted Kafka 1.1 Streams

Extends `ValueTransformer`, `ValueMapper`, and `ValueJoiner` interfaces in Kafka Streams to expose the associated record key as a read-only parameter alongside the value. Without key access, developers must use the heavier `Transformer`/`KeyValueMapper` interfaces even when only inspecting the key, producing unnecessary `KeyValue` object allocations.

Details

AuthorJeyhun Karimov
StatusAccepted
Kafka Version1.1
JIRAKAFKA-4001
WikiView on Apache Wiki
Created2017-05-01
Last Modified2021-02-19
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.