...
Single Message Transforms (SMT), introduced withKIP-66, have greatly improved Connector's usability by enabling transforming transformation of input/output data format formats and content contents without the need for additional streaming applications.
ThoughHowever, these benefits have been limited by SMTs constraint limitation to only lookup for act on fields available on at the root of the data structure.
Here are some tickets/comments related to this limitation:
- https://issues.apache.org/jira/browse/KAFKA-7624
- https://issues.apache.org/jira/browse/KAFKA-10640
Code Block // TODO: Currently we only support top-level field casting. Ideally we could use a dotted notation in the spec to // allow casting nested fields.
This KIP aim aims to include support for nested structures on the existing SMTs.
...
scenario | input | smt | output | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1. Nested field. |
|
|
| |||||||||||||||
2. Nested field, when field names include dots |
|
|
|
...