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

FlinkKinesisConsumer should not interrupt the legacy source thread in cancel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • None
    • 1.14.0
    • Connectors / Kinesis
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: