Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8939

Provide better support for saving streaming data to s3

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Flink seems to struggle saving data to s3 due to the lack of a truncate method, and in my test this resulted in lots of files with a .valid-length suffix

      I’m using a bucketing sink:

      return new BucketingSink<Tuple2<String, Object>>(path)
      .setWriter(writer)
      .setBucketer(new DateTimeBucketer<Tuple2<String, Object>>(formatString));

       

      See also, the discussion in the comments here: https://issues.apache.org/jira/browse/FLINK-8543?filter=-2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                snowch chris snow
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: