[ 
https://issues.apache.org/jira/browse/KAFKA-17882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai resolved KAFKA-17882.
------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> 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: 黃竣陽
>            Priority: Major
>             Fix For: 4.0.0
>
>
> 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)

Reply via email to