Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When sink with canal-json format, only two fields in json root : data and type.
for example :
{"data":[{"order_status":"OK","order_amount":120,"dt":"2022-05-25"}],"type":"INSERT"}
If we want to output the data of multiple tables to the same topic, this will become inconvenient.
If the output contains database and table , we can continue to use the canal-json.database.include }}and {{canal-json.table.include to distinguish.