Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
None
-
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
- duplicates
-
FLINK-23528 stop-with-savepoint can fail with FlinkKinesisConsumer
- Closed