yunqingmoswu opened a new issue, #6296:
URL: https://github.com/apache/inlong/issues/6296
### Description
Split one record to multiple records when the physical data has more records
for KafkaLoadNode.
It is only used for multiple sink scenario, for example, the raw data is:
``` {
"data":[
{
"id":352,
"price":1.14,
"currency":"US",
"order_time":"2022-08-16 18:59:09"
},
{
"id":353,
"price":1.22,
"currency":"US",
"order_time":"2022-08-16 18:59:09"
}
],
"type":"INSERT",
"pkNames":[
"id"
],
"database":"inlong",
"ts":1666772931248,
"table":"orders"
}
```
and then it will be split into two records when writing as follows:
```
{
"data":[
{
"id":352,
"price":1.14,
"currency":"US",
"order_time":"2022-08-16 18:59:09"
}
],
"type":"INSERT",
"pkNames":[
"id"
],
"database":"inlong",
"ts":1666772931248,
"table":"orders"
}
{
"data":[
{
"id":353,
"price":1.22,
"currency":"US",
"order_time":"2022-08-16 18:59:09"
}
],
"type":"INSERT",
"pkNames":[
"id"
],
"database":"inlong",
"ts":1666772931248,
"table":"orders"
}
```
### InLong Component
InLong Sort
### Are you willing to submit 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]