lindong28 commented on PR #21576:
URL: https://github.com/apache/flink/pull/21576#issuecomment-1369812187

   @zhuzhurk Thanks for the review!
   
   After reading through related source code, I believe this PR won't affect 
the behavior of multi-input operators, due to the following reasons:
   
   - PR only changes the behavior of `SourceOperator#emitNext(...)`. 
   - SourceOperator will only be executed by `SourceOperatorStreamTask` (see 
[this](https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceOperatorStreamTask.java#L58)
 and 
[this](https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/translators/SourceTransformationTranslator.java#L82))
   - `SourceOperatorStreamTask` only uses `StreamOneInputProcessor` (see 
[this](https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceOperatorStreamTask.java#L123))
   
   Does this answer your question?
   


-- 
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-unsubscr...@flink.apache.org

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

Reply via email to