AHeise commented on a change in pull request #9383: [FLINK-13248] [runtime] Adding processing of downstream messages in AsyncWaitOperator's wait loops URL: https://github.com/apache/flink/pull/9383#discussion_r317956306
########## File path: flink-libraries/flink-state-processing-api/src/main/java/org/apache/flink/state/api/output/BoundedStreamTask.java ########## @@ -72,6 +74,10 @@ protected void init() throws Exception { // re-initialize the operator with the correct collector. StreamOperatorFactory<OUT> operatorFactory = configuration.getStreamOperatorFactory(getUserCodeClassLoader()); headOperator = operatorFactory.createStreamOperator(this, configuration, new CollectorWrapper<>(collector)); + if (operatorFactory instanceof YieldingOperatorFactory) { Review comment: Yes, we should find a way to avoid duplicates; I'll explore some alternatives to factory util. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services