Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23538

FlinkKinesisConsumer should not interrupt the legacy source thread in cancel

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: Connectors / Kinesis
    • Labels:
      None

      Description

      We use SourceFunction#cancel() not just to forcefully cancel the source thread, but also to gracefully stop the legacy source function in order to perform e.g. the stop-with-savepoint. Therefore we want to clarify the contract of cancel() and force it to be a graceful cancel.

      Currently the FlinkKinesisConsumer is the only known source that does not perform a graceful stop there, but instead it interrupts the legacy source thread.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dwysakowicz Dawid Wysakowicz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: