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
| Author | Joshua Grisham |
| Status | Discussion |
| JIRA | KAFKA-10640 |
| Wiki | View on Apache Wiki |
| Created | 2020-11-08 |
| Last Modified | 2020-11-08 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.