klion26 commented on a change in pull request #12952:
URL: https://github.com/apache/flink/pull/12952#discussion_r459216884
##########
File path: docs/learn-flink/event_driven.zh.md
##########
@@ -120,7 +120,7 @@ public static class PseudoWindow extends
除此之外,`processElement` 和 `onTimer` 都提供了一个上下文对象,该对象可用于与 `TimerService` 交互。
这两个回调还传递了一个可用于发出结果的 `Collector`。
-<a name="The-`open()`-method"></a>
+<a name="The-open()-method"></a>
Review comment:
这里建议改成 `the-open-method`
,[英文中的链接](http://localhost:4000/learn-flink/event_driven.html#the-open-method)也是这样,这里建议保持和英文的一致
##########
File path: docs/learn-flink/event_driven.zh.md
##########
@@ -183,7 +183,7 @@ public void processElement(
* 本例使用一个 `MapState`,其中 keys 是时间戳(timestamp),并为同一时间戳设置一个 Timer。
这是一种常见的模式;它使得在 Timer 触发时查找相关信息变得简单高效。
-<a name="The-`onTimer()`-method"></a>
+<a name="The-onTimer()-method"></a>
Review comment:
这里建议改成 `the-ontimer-method` 理由同上
##########
File path: docs/learn-flink/event_driven.zh.md
##########
@@ -183,7 +183,7 @@ public void processElement(
* 本例使用一个 `MapState`,其中 keys 是时间戳(timestamp),并为同一时间戳设置一个 Timer。
这是一种常见的模式;它使得在 Timer 触发时查找相关信息变得简单高效。
-<a name="The-`onTimer()`-method"></a>
+<a name="The-onTimer()-method"></a>
#### `onTimer()` 方法
Review comment:
另外帮忙把 239 行的 `name="Example"` 改成 `name=example-1` 这样
1)可以和英文版的同步;2)避免同一个页面中有两个 `Example` 的标签
##########
File path: docs/learn-flink/event_driven.zh.md
##########
@@ -142,7 +142,7 @@ public void open(Configuration conf) {
实际上,如果 Watermark 延迟比窗口长度长得多,则可能有多个窗口同时打开,而不仅仅是两个。
此实现通过使用 `MapState` 来支持处理这一点,该 `MapState` 将每个窗口的结束时间戳映射到该窗口的小费总和。
-<a name="The-`processElement()`-method"></a>
+<a name="The-processElement()-method"></a>
Review comment:
这里建议改成 `the-processelement-method` 理由同上
----------------------------------------------------------------
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]