This is an automated email from the ASF dual-hosted git repository.
azagrebin pushed a commit to branch release-1.12
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.12 by this push:
new e92812c [hotfix][docs] Fix typo in event_timestamps_watermarks.md
e92812c is described below
commit e92812cd83fa0cadc826256bd9c66f0b24e932dc
Author: totorooo <[email protected]>
AuthorDate: Mon Oct 12 11:30:44 2020 +0800
[hotfix][docs] Fix typo in event_timestamps_watermarks.md
This closes #13588.
---
docs/dev/event_timestamps_watermarks.md | 2 +-
docs/dev/event_timestamps_watermarks.zh.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/dev/event_timestamps_watermarks.md
b/docs/dev/event_timestamps_watermarks.md
index c69bae0..fff51ef 100644
--- a/docs/dev/event_timestamps_watermarks.md
+++ b/docs/dev/event_timestamps_watermarks.md
@@ -477,7 +477,7 @@ The details of this behavior are defined by the
implementations of the
Prior to introducing the current abstraction of `WatermarkStrategy`,
`TimestampAssigner`, and `WatermarkGenerator`, Flink used
-`AssignerWithPeriodicWatermarks` and `AssignerWithPeriodicWatermarks`. You will
+`AssignerWithPeriodicWatermarks` and `AssignerWithPunctuatedWatermarks`. You
will
still see them in the API but it is recommended to use the new interfaces
because they offer a clearer separation of concerns and also unify periodic and
punctuated styles of watermark generation.
diff --git a/docs/dev/event_timestamps_watermarks.zh.md
b/docs/dev/event_timestamps_watermarks.zh.md
index 42f04b6..530c821 100644
--- a/docs/dev/event_timestamps_watermarks.zh.md
+++ b/docs/dev/event_timestamps_watermarks.zh.md
@@ -396,6 +396,6 @@ val stream: DataStream[MyType] = env.addSource(kafkaSource)
## 可以弃用 AssignerWithPeriodicWatermarks 和 AssignerWithPunctuatedWatermarks 了
-在 Flink 新的 `WatermarkStrategy`,`TimestampAssigner` 和 `WatermarkGenerator`
的抽象接口之前,Flink 使用的是 `AssignerWithPeriodicWatermarks` 和
`AssignerWithPeriodicWatermarks`。你仍可以在 API 中看到它们,但建议使用新接口,因为其对时间戳和 watermark
等重点的抽象和分离很清晰,并且还统一了周期性和标记形式的 watermark 生成方式。
+在 Flink 新的 `WatermarkStrategy`,`TimestampAssigner` 和 `WatermarkGenerator`
的抽象接口之前,Flink 使用的是 `AssignerWithPeriodicWatermarks` 和
`AssignerWithPunctuatedWatermarks`。你仍可以在 API 中看到它们,但建议使用新接口,因为其对时间戳和 watermark
等重点的抽象和分离很清晰,并且还统一了周期性和标记形式的 watermark 生成方式。
{% top %}