StefanRRichter commented on a change in pull request #8523: 
[FLINK-12481][runtime] Invoke timer callback in task thread (via mailbox)
URL: https://github.com/apache/flink/pull/8523#discussion_r289306707
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
 ##########
 @@ -1358,4 +1358,19 @@ public void actionsUnavailable() throws 
InterruptedException {
                        mailbox.putMail(actionUnavailableLetter);
                }
        }
+
+       private class TimerInvocationContext implements 
SystemProcessingTimeService.ScheduledCallbackExecutionContext {
 
 Review comment:
   I think I cannot follow your arguments. For me it looks obviously wrong to 
read code ala `invoke(ProcessingTimeCallback callback, long timestamp)` and 
`callback.onProcessingTime(timestamp)` inside the context of stream task. If we 
cannot come to an agreement on this, let's ask a third person for another 
opinion @pnowojski ?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to