Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-18822 [umbrella] Improve and complete Change Data Capture formats
  3. FLINK-19795

Fix Flink SQL throws exception when changelog source contains duplicate change events

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              jark Jark Wu
              shen_dijie jinxin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: