hackergin commented on a change in pull request #18180: URL: https://github.com/apache/flink/pull/18180#discussion_r774110154
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/DataStreamUtils.java ########## @@ -122,7 +122,7 @@ final ClientAndIterator<E> clientAndIterator = collectWithClient(stream, jobName); final List<E> result = collectRecordsFromUnboundedStream(clientAndIterator, numElements); - // cancel the job not that we have received enough elements + // cancel the job note that we have received enough elements Review comment: But should 'not' to be removed ? I think the meaning is , we have received enough elements, so we can cancel the job ? -- 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