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

The doc of Streaming File Sink has a mistake of grammar

    XMLWordPrintableJSON

    Details

      Description

      In the following link, there is a mistake in grammar.

      https://ci.apache.org/projects/flink/flink-docs-release-1.10/zh/dev/connectors/streamfile_sink.html

      it should be

      {{}}

      final StreamingFileSink<String> sink = StreamingFileSink
         .forRowFormat(new Path(outputPath), new SimpleStringEncoder<String>("UTF-8"))
         .withRollingPolicy(
            DefaultRollingPolicy.builder()
               .withRolloverInterval(TimeUnit.MINUTES.toMillis(15))
               .withInactivityInterval(TimeUnit.MINUTES.toMillis(5))
               .withMaxPartSize(1024 * 1024 * 1024)
               .build())
         .build();
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Edward Chen Chen
                Reporter:
                Edward Chen Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m