Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.11.2
Description
We are using Canal to synchornize MySQL data into Kafka, the synchornization delivery is not exactly-once, so there might be dupcliate INSERT/UPDATE/DELETE messages for the same primary key. We are using 'connecotr' = 'kafka', 'format' = 'canal-json' to consume such topic. However, when appling TopN query on this created source table, the TopN operator will thrown exception: Caused by: java.lang.RuntimeException: Can not retract a non-existent record. This should never happen.
Attachments
Issue Links
- fixes
-
FLINK-20205 CDC source shouldn't send UPDATE_BEFORE messages if the downstream doesn't need it
- Closed
- links to