You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Nishant Kumar (Jira)" <ji...@apache.org> on 2026/04/01 19:27:00 UTC

[jira] (KAFKA-20387) Extend RecordHeader API for Common Value Types

    [ https://issues.apache.org/jira/browse/KAFKA-20387 ]


    Nishant Kumar deleted comment on KAFKA-20387:
    ---------------------------------------

was (Author: JIRAUSER312516):
[~adikou]  can I pick this ticket?

> 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
>            Priority: Major
>
> 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)