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/08/22 00:06:00 UTC
[jira] [Created] (KAFKA-19634) document the encoding of nullable struct
Jun Rao created KAFKA-19634:
-------------------------------
Summary: 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
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)