You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jun Rao (Jira)" <ji...@apache.org> on 2025/09/26 21:49:00 UTC

[jira] [Commented] (KAFKA-19634) document the encoding of nullable struct

    [ https://issues.apache.org/jira/browse/KAFKA-19634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023204#comment-18023204 ] 

Jun Rao commented on KAFKA-19634:
---------------------------------

[~isding_l]: Any progress on this? Thanks.

> document the encoding of nullable struct
> ----------------------------------------
>
>                 Key: KAFKA-19634
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19634
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Jun Rao
>            Assignee: Lan Ding
>            Priority: Major
>
> In [https://kafka.apache.org/protocol#protocol_types,] we didn't specify the encoding of a struct. In particular, how a nullable struct is represented. We should document that if a struct is nullable, the first byte indicates whether is null and the rest of the bytes are the serialization of each field.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)