liming30 commented on a change in pull request #13109:
URL: https://github.com/apache/flink/pull/13109#discussion_r477235414



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/collector/selector/CopyingDirectedOutput.java
##########
@@ -36,31 +38,56 @@
        @SuppressWarnings({"unchecked", "rawtypes"})
        public CopyingDirectedOutput(
                        List<OutputSelector<OUT>> outputSelectors,
-                       List<? extends Tuple2<? extends 
Output<StreamRecord<OUT>>, StreamEdge>> outputs) {
-               super(outputSelectors, outputs);
+                       List<? extends Tuple2<? extends 
Output<StreamRecord<OUT>>, StreamEdge>> outputs,
+                       Counter numRecordsOutForTask) {
+               super(outputSelectors, outputs, numRecordsOutForTask);
        }
 
        @Override
        public void collect(StreamRecord<OUT> record) {
-               Set<Output<StreamRecord<OUT>>> selectedOutputs = 
selectOutputs(record);
+               Tuple2<Set<RecordWriterOutput<OUT>>, 
Set<Output<StreamRecord<OUT>>>> selectedOutputs = selectOutputs(record);

Review comment:
       Ok, I will modify this implementation by adding the 
`SelectedOutputsCollector` interface in the next submission.




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


Reply via email to