Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/2797#discussion_r88019203 --- Diff: flink-streaming-connectors/flink-connector-filesystem/src/test/java/org/apache/flink/streaming/connectors/fs/bucketing/BucketingSinkFaultToleranceITCase.java --- @@ -161,6 +164,15 @@ public void postSubmit() throws Exception { Matcher matcher = messageRegex.matcher(line); if (matcher.matches()) { numRead++; + uniqMessagesRead.add(line); + + // check that in the committed files there are no duplicates + if (!file.getPath().toString().endsWith(".in-progress") && !file.getPath().toString().endsWith(".pending")) { --- End diff -- ".in-progress" and ".pending" should use the constants defined in the BucketingSink.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---