[
https://issues.apache.org/jira/browse/KAFKA-19634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023711#comment-18023711
]
Lan Ding commented on KAFKA-19634:
----------------------------------
Thanks for the helpful details!
I've opened a PR with the nullable struct documentation.
[KAFKA-19634|https://github.com/apache/kafka/pull/20614]
PTAL when you get a chance, thanks in advince.
> 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)