RocMarshal commented on a change in pull request #11979:
URL: https://github.com/apache/flink/pull/11979#discussion_r419201525



##########
File path: docs/training/event_driven.zh.md
##########
@@ -29,19 +29,18 @@ under the License.
 
 ## Process Functions
 
-### Introduction
+### 介绍
 
-A `ProcessFunction` combines event processing with timers and state, making it 
a powerful building
-block for stream processing applications. This is the basis for creating 
event-driven applications
-with Flink. It is very similar to a `RichFlatMapFunction`, but with the 
addition of timers.
+`ProcessFunction` 将事件处理与 Timer 和 State 结合在一起,使其成为流处理应用的强大构建模块。
+这是使用 Flink 创建事件驱动的应用程序的基础。它和 `RichFlatMapFunction` 十分相似, 但是增加了 Timer。
 
-### Example
+### 实例
 
-If you've done the
-[hands-on exercise]({% link training/streaming_analytics.zh.md %}#hands-on)
-in the [Streaming Analytics training]({% link 
training/streaming_analytics.zh.md %}),
-you will recall that it uses a `TumblingEventTimeWindow` to compute the sum of 
the tips for
-each driver during each hour, like this:
+如果你已经体验了
+[流式分析训练]({% link training/streaming_analytics.zh.md %})
+的[动手实践]({% link training/streaming_analytics.zh.md %}#hands-on),
+你会忆起,它是采用 `TumblingEventTimeWindow` 来计算每个小时内每个司机的小费总和,

Review comment:
       Yes, it will be easier to understand in translation. I've updated it.
   thank you.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to