becketqin commented on a change in pull request #14181:
URL: https://github.com/apache/flink/pull/14181#discussion_r529085129



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceOperatorStreamTask.java
##########
@@ -66,6 +76,43 @@ public void init() {
                        operatorChain);
        }
 
+       @Override
+       protected void beforeInvoke() throws Exception {

Review comment:
       Good catch. I forgot to delete the `Input` / `InputProcessor` creation 
in `init()`.
   We cannot add the code here to `init()` because the `SourceReader` was 
created after the `init()` invocation.
   




----------------------------------------------------------------
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.

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


Reply via email to