klion26 commented on a change in pull request #9097: [FLINK-11529][docs-zh]
Translate the "DataStream API Tutorial" page into Chinese
URL: https://github.com/apache/flink/pull/9097#discussion_r303225918
##########
File path: docs/getting-started/tutorials/datastream_api.zh.md
##########
@@ -76,16 +70,13 @@ wiki-edits/
└── log4j.properties
{% endhighlight %}
-There is our `pom.xml` file that already has the Flink dependencies added in
the root directory and
-several example Flink programs in `src/main/java`. We can delete the example
programs, since
-we are going to start from scratch:
+项目根目录下的 `pom.xml` 文件已经将 Flink 依赖添加进来,同时在 `src/main/java` 目录下也有几个 Flink
程序实例。由于我们从头开始创建,我们可以删除程序实例:
{% highlight bash %}
$ rm wiki-edits/src/main/java/wikiedits/*.java
{% endhighlight %}
-As a last step we need to add the Flink Wikipedia connector as a dependency so
that we can
-use it in our program. Edit the `dependencies` section of the `pom.xml` so
that it looks like this:
+作为最后一步,我们需要添加 Flink 维基百科连接器作为依赖项,这样就可以在我们的项目中进行使用。编辑 `pom.xml` 的
`dependencies` 部分,使它看起来像这样:
Review comment:
```suggestion
作为最后一步,我们需要添加 Flink 维基百科连接器的依赖,从而可以在项目中进行使用。修改 `pom.xml` 的 `dependencies`
部分,使它看起来像这样:
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services