You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "David Anderson (Jira)" <ji...@apache.org> on 2020/05/04 21:13:00 UTC

[jira] [Created] (FLINK-17507) Training figure program_dataflow.svg should use preferred parts of the API

David Anderson created FLINK-17507:
--------------------------------------

             Summary: Training figure program_dataflow.svg should use preferred parts of the API
                 Key: FLINK-17507
                 URL: https://issues.apache.org/jira/browse/FLINK-17507
             Project: Flink
          Issue Type: Improvement
          Components: Documentation / Training
            Reporter: David Anderson


It would be better if fig/program_dataflow.svg used a {{ProcessWindowFunction}}, rather than a {{WindowFunction}}.

It also uses a {{BucketingSink}}, which sets a bad example. 

Note that this is not a trivial edit, since it doesn't work to simply replace {{new BucketingSink}} with {{new StreamingFileSink}}. Something like this would be better:

 
{{final StreamingFileSink<GenericRecord> sink = StreamingFileSink}}
{{        .forBulkFormat(...)}}
{{        .build();}}
{{}}
{{stats.addSink(sink);}}
{{}}
Note: This figure is only used once, in the Training Overview page.
{{}}



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