LiJie20190102 opened a new issue, #10045: URL: https://github.com/apache/seatunnel/issues/10045
### Search before asking - [x] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement. ### Description When using Kafka connector to read data from Kafka, if `format`="NATIVE", metadata information and a value of byte [] type are returned. But there are some scenarios, such as users wanting to retrieve both metadata and a certain field value in the value. The `value` data is as follows: ``` { "aa":123, "bb":"testStr" } ``` And the metadata is as follows: ``` { "headers": { "header1": "header1", "header2": "header2" }, "key": "dGVzdF9ieXRlc19kYXRh", "partition": 3, "timestamp": 1672531200000, "timestampType": "CREATE_TIME", } ``` If the user wants to obtain the values of timestamp and aa at the same time, seatunnel cannot meet the requirements. I also learned that Dataworks can support this feature: <img width="459" height="704" alt="Image" src="https://github.com/user-attachments/assets/9dff4c72-9203-4bae-afec-ed48f730c410" /> Can we implement this feature? I want to try it out.My idea is to add a `valueJson` value and return the following message { "headers": { "header1": "header1", "header2": "header2" }, "key": "dGVzdF9ieXRlc19kYXRh", "partition": 3, "timestamp": 1672531200000, "timestampType": "CREATE_TIME", "value": "dGVzdF9ieXRlc19kYXRh", "valueJson": { "aa": 123, "bb": "testStr" } } ### Usage Scenario _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
