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

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

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

Shang Yuanchun (Jira)
Jun Qin created FLINK-15298:
-------------------------------

             Summary: Wrong dependences 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: Documentation
    Affects Versions: 1.9.1, 1.9.0
            Reporter: Jun Qin


[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)