You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Axel Dovskog (Jira)" <ji...@apache.org> on 2026/04/29 07:55:00 UTC
[jira] [Assigned] (KAFKA-20387) Extend RecordHeader API for Common Value Types
[ https://issues.apache.org/jira/browse/KAFKA-20387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Axel Dovskog reassigned KAFKA-20387:
------------------------------------
Assignee: Axel Dovskog
> 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: Axel Dovskog
> 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)