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



##########
File path: docs/training/event_driven.zh.md
##########
@@ -136,13 +133,12 @@ public void open(Configuration conf) {
 }
 {% endhighlight %}
 
-Because the fare events can arrive out of order, it will sometimes be 
necessary to process events
-for one hour before having finished computing the results for the previous 
hour. In fact, if the
-watermarking delay is much longer than the window length, then there may be 
many windows open
-simultaneously, rather than just two. This implementation supports this by 
using a `MapState` that
-maps the timestamp for the end of each window to the sum of the tips for that 
window.
+由于票价事件(fare-event)可能会乱序到达,有时需要在计算完前一小时的结果之前处理一小时的事件。
+实际上,如果 Watermark 延迟比窗口长度长得多,则可能有多个窗口同时打开,而不仅仅是两个。
+此实现通过使用 `MapState` 来支持处理这一点,该 `MapState` 将每个窗口的结束时间戳映射到该窗口的 tips 

Review comment:
       @klion26 
   I have translated the 'tips' into Chinese.
   
   Sincerely,
   Roc




----------------------------------------------------------------
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]


Reply via email to