You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2021/01/20 15:02:01 UTC

[jira] [Updated] (FLINK-15298) Wrong dependencies in the DataStream API tutorial (the wiki-edits example)

     [ https://issues.apache.org/jira/browse/FLINK-15298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xintong Song updated FLINK-15298:
---------------------------------
    Fix Version/s:     (was: 1.10.3)
                   1.10.4

> Wrong dependencies in the DataStream API tutorial (the wiki-edits example)
> --------------------------------------------------------------------------
>
>                 Key: FLINK-15298
>                 URL: https://issues.apache.org/jira/browse/FLINK-15298
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream, Documentation
>    Affects Versions: 1.7.2, 1.8.3, 1.9.1
>            Reporter: Jun Qin
>            Assignee: Jun Qin
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0, 1.11.4, 1.10.4
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [The DataStream API Tutorial in Flink 1.9 | https://ci.apache.org/projects/flink/flink-docs-release-1.9/getting-started/tutorials/datastream_api.html] mentioned the following dependences:
> {code:java}
> <dependencies>
>     <dependency>
>         <groupId>org.apache.flink</groupId>
>         <artifactId>flink-java</artifactId>
>         <version>${flink.version}</version>
>     </dependency>
>     <dependency>
>         <groupId>org.apache.flink</groupId>
>         <artifactId>flink-streaming-java_2.11</artifactId>
>         <version>${flink.version}</version>
>     </dependency>
>     <dependency>
>         <groupId>org.apache.flink</groupId>
>         <artifactId>flink-clients_2.11</artifactId>
>         <version>${flink.version}</version>
>     </dependency>
>     <dependency>
>         <groupId>org.apache.flink</groupId>
>         <artifactId>flink-connector-wikiedits_2.11</artifactId>
>         <version>${flink.version}</version>
>     </dependency>
> </dependencies>
> {code}
> There are two issues here:
> # {{flink-java}} and {{flink-streaming-java}} should be set to *provided* scope
> # {{flink-client}} is not needed. If {{flink-client}} is added into *compile* scope, {{flink-runtime}} will be added implicitly



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