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
| Author | Jeyhun Karimov |
| Status | Accepted |
| Kafka Version | 1.1 |
| JIRA | KAFKA-4001 |
| Wiki | View on Apache Wiki |
| Created | 2017-05-01 |
| Last Modified | 2021-02-19 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.