StefanRRichter commented on a change in pull request #8442: [FLINK-12483] 
Support (legacy) SourceFunction as special case in the mailbox model for stream 
tasks
URL: https://github.com/apache/flink/pull/8442#discussion_r283891164
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceStreamTask.java
 ##########
 @@ -45,6 +45,8 @@
 public class SourceStreamTask<OUT, SRC extends SourceFunction<OUT>, OP extends 
StreamSource<OUT, SRC>>
        extends StreamTask<OUT, OP> {
 
+       private static final Runnable SOURCE_POISON_LETTER = () -> {};
 
 Review comment:
   I think that would be to wrong place: this letter is not special to the 
mailbox, it is only special to this task.

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

Reply via email to