You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/07/22 10:00:48 UTC

[GitHub] [flink] dannycranmer commented on a diff in pull request #20133: [FLINK-23528][connectors/kinesis] Kinesis Consumer stop-with-savepoint support including EFO

dannycranmer commented on code in PR #20133:
URL: https://github.com/apache/flink/pull/20133#discussion_r927497905


##########
flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/internals/KinesisDataFetcher.java:
##########
@@ -852,6 +852,15 @@ protected void deregisterStreamConsumer() {
         StreamConsumerRegistrarUtil.deregisterStreamConsumers(configProps, streams);
     }
 
+    /**
+     * Gracefully stops shardConsumersExecutor without interrupting running threads. Allows test to
+     * override this to simulate exception for shutdown logic.
+     */
+    @VisibleForTesting

Review Comment:
   You have marked this as `@VisibleForTesting`, but it is not called from any tests, can you make it private?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org