You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2023/01/03 03:46:54 UTC
[GitHub] [flink] xintongsong commented on a diff in pull request #21576: [FLINK-30533][runtime] SourceOperator#emitNext() should push records to DataOutput in a while loop
xintongsong commented on code in PR #21576:
URL: https://github.com/apache/flink/pull/21576#discussion_r1060259412
##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java:
##########
@@ -990,6 +991,10 @@ public MailboxExecutorFactory getMailboxExecutorFactory() {
return this.mailboxProcessor::getMailboxExecutor;
}
+ public Supplier<Boolean> getMailboxHasMail() {
+ return this.mailboxProcessor::hasMail;
Review Comment:
With this change, the `@VisibleForTesting` annotation can be removed for `MailboxProcessor#hasMail`.
--
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-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org