[
https://issues.apache.org/jira/browse/KAFKA-20387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aditya Kousik reassigned KAFKA-20387:
-------------------------------------
Assignee: Aditya Kousik
> Extend RecordHeader API for Common Value Types
> ----------------------------------------------
>
> Key: KAFKA-20387
> URL: https://issues.apache.org/jira/browse/KAFKA-20387
> Project: Kafka
> Issue Type: Improvement
> Components: clients
> Reporter: Aditya Kousik
> Assignee: Aditya Kousik
> Priority: Major
> Labels: kip
>
> RecordHeader values are raw byte[], requiring manual ByteBuffer conversion at
> every read and write site. We should consider adding static factories
> (ofString, ofInt..) and typed accessors (stringValue(), intValue() ...) for
> the common types used in headers. See
> [KIP-1308|https://cwiki.apache.org/confluence/display/KAFKA/KIP-1308%3A+Extend+RecordHeader+API+for+Common+Value+Types]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)