PatrickRen commented on a change in pull request #18790:
URL: https://github.com/apache/flink/pull/18790#discussion_r809647311



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/SourceOperator.java
##########
@@ -516,7 +525,14 @@ public void handleOperatorEvent(OperatorEvent event) {
             checkWatermarkAlignment();
         } else if (event instanceof AddSplitEvent) {
             try {
-                sourceReader.addSplits(((AddSplitEvent<SplitT>) 
event).splits(splitSerializer));
+                List<SplitT> newSplits = ((AddSplitEvent<SplitT>) 
event).splits(splitSerializer);

Review comment:
       Yes
   
   
https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java#L1426




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