conduktor.io ↗

KIP-683 — Add recursive support to Connect Cast and ReplaceField transforms, and support for casting complex types to either a native or JSON string

Discussion Connect

KIP-683 extends the Kafka Connect `Cast` and `ReplaceField` SMTs to support recursive field traversal into nested `Struct`, `Map`, and `Array` fields, and adds an option to cast complex-type fields to their JSON string representation. Previously these transforms operated only on top-level flat fields, making it impossible to transform or project nested schema structures common in real-world message formats without writing custom SMTs.

Details

AuthorJoshua Grisham
StatusDiscussion
JIRAKAFKA-10640
WikiView on Apache Wiki
Created2020-11-08
Last Modified2020-11-08
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.