shuai-xu commented on a change in pull request #11168: [FLINK-16140] [docs-zh] 
Translate Event Processing (CEP) page into Chinese
URL: https://github.com/apache/flink/pull/11168#discussion_r387438670
 
 

 ##########
 File path: docs/dev/libs/cep.zh.md
 ##########
 @@ -1598,17 +1554,17 @@ val timeoutResult: DataStream[TimeoutEvent] = 
result.getSideOutput(outputTag)
 </div>
 </div>
 
-## Time in CEP library
+## CEP库中的时间
 
-### Handling Lateness in Event Time
+### 按照事件时间处理晚到事件
 
-In `CEP` the order in which elements are processed matters. To guarantee that 
elements are processed in the correct order when working in event time, an 
incoming element is initially put in a buffer where elements are *sorted in 
ascending order based on their timestamp*, and when a watermark arrives, all 
the elements in this buffer with timestamps smaller than that of the watermark 
are processed. This implies that elements between watermarks are processed in 
event-time order.
+在`CEP`中,事件的处理顺序很重要。在使用事件时间时,为了保证事件按照正确的顺序被处理,一个事件到来后会先被放到一个缓冲区中,
+在缓冲区里事件都按照时间戳从小到大排序,当水位线到达后,缓冲区中所有小于水位线的事件被处理。这意味这水位线之间的数据都按照事件戳被顺序处理。
 
 Review comment:
   done

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


With regards,
Apache Git Services

Reply via email to