rkhachatryan commented on a change in pull request #10151: [FLINK-14231] Handle 
the processing-time timers when closing operators to make endInput semantics on 
the operator chain strict
URL: https://github.com/apache/flink/pull/10151#discussion_r355527819
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java
 ##########
 @@ -241,6 +240,7 @@ public MetricGroup getMetricGroup() {
 
        @Override
        public final void initializeState() throws Exception {
+               this.processingTimeService = 
container.getProcessingTimeService(getOperatorID());
 
 Review comment:
   Could you please explain why you moved it from `setup` to `initializeState`?

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