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 <ch...@apache.org> on 2026/04/09 18:25:08 UTC

Re: KIP-1040: Improve handling of nullable values in InsertField/ExtractField transformations

Sorry for making noise on this archived thread, but I have a question: Was there a specific reason why Flatten was excluded when implementing this new configuration?

On 2024/05/08 07:39:14 Mario Fiore Vitale wrote:
> Hi All,
> 
> I have created (through Mickael Maison's account since there was an issue
> creating a new one for me) KIP-1040[1] to improve handling of nullable
> values in InsertField/ExtractField transformations, this is required after
> the introduction of KIP-581[2] that introduced the configuration property
> *replace.null.with.default* to *JsonConverter* to choose whether to replace
> fields that have a default value and that are null to the default value.
> 
> [1]
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=303794677
> [2]
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-581%3A+Value+of+optional+null+field+which+has+default+value
> 
> Feedback and suggestions are welcome.
> 
> Regards,
> Mario.
> -- 
> 
> Mario Fiore Vitale
> 
> Senior Software Engineer
> 
> Red Hat <https://www.redhat.com/>
> <https://www.redhat.com/>
> 

Re: KIP-1040: Improve handling of nullable values in InsertField/ExtractField transformations

Posted by Chia-Ping Tsai <ch...@apache.org>.
opened https://issues.apache.org/jira/browse/KAFKA-20432

On 2026/04/09 18:25:08 Chia-Ping Tsai wrote:
> Sorry for making noise on this archived thread, but I have a question: Was there a specific reason why Flatten was excluded when implementing this new configuration?
> 
> On 2024/05/08 07:39:14 Mario Fiore Vitale wrote:
> > Hi All,
> > 
> > I have created (through Mickael Maison's account since there was an issue
> > creating a new one for me) KIP-1040[1] to improve handling of nullable
> > values in InsertField/ExtractField transformations, this is required after
> > the introduction of KIP-581[2] that introduced the configuration property
> > *replace.null.with.default* to *JsonConverter* to choose whether to replace
> > fields that have a default value and that are null to the default value.
> > 
> > [1]
> > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=303794677
> > [2]
> > https://cwiki.apache.org/confluence/display/KAFKA/KIP-581%3A+Value+of+optional+null+field+which+has+default+value
> > 
> > Feedback and suggestions are welcome.
> > 
> > Regards,
> > Mario.
> > -- 
> > 
> > Mario Fiore Vitale
> > 
> > Senior Software Engineer
> > 
> > Red Hat <https://www.redhat.com/>
> > <https://www.redhat.com/>
> > 
>