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
| Author | Jeyhun Karimov |
| Status | Discussion |
| JIRA | KAFKA-4125 |
| Wiki | View on Apache Wiki |
| Created | 2017-05-20 |
| Last Modified | 2017-11-06 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.