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

   Hi @1996fanrui, yes I agree we should use Supplier<Boolean> 
canEmitBatchOfRecords.
   
   I believe `canEmitBatchOfRecords` can be passed to `SourceOperator` similar 
to how `mailboxHasMail ` is passed to `SourceOperator`. Can you see if the 
approach in this commit [1] works?
   
   [1] 
https://github.com/apache/flink/compare/master...lindong28:flink:use-task-is-available


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