conduktor.io ↗

KIP-1040 — Improve handling of nullable values in InsertField, ExtractField, and other transformations

Accepted Kafka 3.9 (source observation; full implementation unconfirmed) Connect

Fixes several Kafka Connect SMTs (InsertField, ExtractField, SetSchemaMetadata, and others) to correctly propagate null field values when the JsonConverter is configured with replace.null.with.default=false. The SMT implementations created copies of Struct objects through internal paths that unconditionally substituted field defaults for null values, overriding the converter's explicit null-preservation setting.

Details

AuthorMickael Maison
StatusAccepted
Kafka Version3.9 (source observation; full implementation unconfirmed)
JIRAKAFKA-15838
WikiView on Apache Wiki
Created2024-04-26
Last Modified2024-06-25
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.