AHeise commented on a change in pull request #19138:
URL: https://github.com/apache/flink/pull/19138#discussion_r830865332



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceOperatorStreamTask.java
##########
@@ -109,23 +125,55 @@ public void init() throws Exception {
                         this::getAsyncCheckpointStartDelayNanos);
     }
 
+    @Override
+    protected void processInput(Controller controller) throws Exception {
+        if (!isExternallyInducedSource || triggeredCheckpoints.isEmpty()) {

Review comment:
       I beefed `StreamTaskExternallyInducedSourceInput` a bit to not impact 
the hot-path of normal sources. PTAL.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to