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_r303226098
##########
File path: docs/getting-started/tutorials/datastream_api.zh.md
##########
@@ -404,27 +361,22 @@ The output of that command should look similar to this,
if everything went accor
03/08/2016 15:09:27 Source: Custom Source(1/1) switched to RUNNING
{% endhighlight %}
-You can see how the individual operators start running. There are only two,
because
-the operations after the window get folded into one operation for performance
reasons. In Flink
-we call this *chaining*.
+你可以看到每个算子是如何运行的。这里只有两个,出于性能原因的考虑,窗口后的操作会被链接成一个操作。在Flink中我们称它为 *链接*。
-You can observe the output of the program by inspecting the Kafka topic using
the Kafka
-console consumer:
+你可以通过 Kafka 控制台来检查项目输出到 Kafka 主题的情况
{% highlight bash %}
bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic wiki-result
{% endhighlight %}
-You can also check out the Flink dashboard which should be running at
[http://localhost:8081](http://localhost:8081).
-You get an overview of your cluster resources and running jobs:
+你还可以查看运行在[http://localhost:8081](http://localhost:8081)上的 Flink
作业仪表盘。你可以概览集群资源以及正在运行的作业:
-<a href="{{ site.baseurl
}}/page/img/quickstart-example/jobmanager-overview.png" ><img
class="img-responsive" src="{{ site.baseurl
}}/page/img/quickstart-example/jobmanager-overview.png" alt="JobManager
Overview"/></a>
+<a href="{{ site.baseurl
}}/zh/page/img/quickstart-example/jobmanager-overview.png" ><img
class="img-responsive" src="{{ site.baseurl
}}/zh/page/img/quickstart-example/jobmanager-overview.png" alt="JobManager
概览"/></a>
-If you click on your running job you will get a view where you can inspect
individual operations
-and, for example, see the number of processed elements:
+如果你点击正在运行的作业,你将会得到一个可以检查各个操作的视图,比如说,你可以查看处理过的元素数量:
-<a href="{{ site.baseurl }}/page/img/quickstart-example/jobmanager-job.png"
><img class="img-responsive" src="{{ site.baseurl
}}/page/img/quickstart-example/jobmanager-job.png" alt="Example Job View"/></a>
+<a href="{{ site.baseurl }}/zh/page/img/quickstart-example/jobmanager-job.png"
><img class="img-responsive" src="{{ site.baseurl
}}/zh/page/img/quickstart-example/jobmanager-job.png" alt="样例作业视图"/></a>
-This concludes our little tour of Flink. If you have any questions, please
don't hesitate to ask on our [Mailing
Lists](http://flink.apache.org/community.html#mailing-lists).
+这就结束了 Flink 项目构建之旅. 如果你有任何问题, 你可以在我们的
[邮件组](http://flink.apache.org/community.html#mailing-lists)提出.
Review comment:
```suggestion
这就结束了 Flink 项目构建之旅. 如果你有任何问题,
可以在我们的[邮件组](http://flink.apache.org/community.html#mailing-lists)提出.
```
----------------------------------------------------------------
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