[jira] [Created] (FLINK-16592) The doc of Streaming File Sink has a mistake of grammar

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-16592) The doc of Streaming File Sink has a mistake of grammar

Shang Yuanchun (Jira)
Chen created FLINK-16592:
----------------------------

             Summary: The doc of Streaming File Sink has a mistake of grammar
                 Key: FLINK-16592
                 URL: https://issues.apache.org/jira/browse/FLINK-16592
             Project: Flink
          Issue Type: Task
          Components: Documentation
            Reporter: Chen
         Attachments: image-2020-03-14-12-04-27-065.png

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]

!image-2020-03-14-12-04-27-065.png|width=567,height=369!

it should be

{{}}
{code:java}
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();
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)