You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/10/27 16:22:00 UTC
[jira] [Created] (KAFKA-17882) improve the document about "default value" of tagged structure field
Chia-Ping Tsai created KAFKA-17882:
--------------------------------------
Summary: improve the document about "default value" of tagged structure field
Key: KAFKA-17882
URL: https://issues.apache.org/jira/browse/KAFKA-17882
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
In the [Apache Kafka documentation|https://github.com/apache/kafka/tree/trunk/clients/src/main/resources/common/message#deserializing-messages], we don't mention the default values for fields in tagged structures. What happens if not all fields of a tagged structure have explicit default values? Does the implicit default value still apply?
We should document this behavior as follows: 'A tagged structure field will be ignored if all of its fields' values are equal to their default values, regardless of whether those default values are defined explicitly or implicitly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)