gaoyunhaii commented on a change in pull request #11808:
URL: https://github.com/apache/flink/pull/11808#discussion_r415950705
##########
File path: docs/dev/stream/operators/process_function.zh.md
##########
@@ -26,66 +26,65 @@ under the License.
* This will be replaced by the TOC
{:toc}
-## The ProcessFunction
+## ProcessFunction简介
-The `ProcessFunction` is a low-level stream processing operation, giving
access to the basic building blocks of
-all (acyclic) streaming applications:
+`ProcessFunction` 是一种低级别的流处理操作,基于它用户可以访问所有(非循环)流应用程序的基本构建块:
- - events (stream elements)
- - state (fault-tolerant, consistent, only on keyed stream)
- - timers (event time and processing time, only on keyed stream)
+ -事件(流元素)
+ -状态(容错,一致行,仅在 keyed stream 上)
+ -计时器(事件时间和处理时间,仅在 keyed stream 上)
-The `ProcessFunction` can be thought of as a `FlatMapFunction` with access to
keyed state and timers. It handles events
-by being invoked for each event received in the input stream(s).
+可以将 `ProcessFunction` 视为一种可以访问 keyed state 和计时器的 `FlatMapFunction`。
+Flink 对每一个收到的元素调用调用这一函数。
Review comment:
感觉出现两次 事件 有些重复,去掉了第二个 事件。
----------------------------------------------------------------
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]