You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2022/11/09 02:00:24 UTC
[flink] branch master updated: [FLINK-29920][docs] Minor reformat Kafka connector documentation (#21253)
This is an automated email from the ASF dual-hosted git repository.
jark pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 9c1a1a18c4c [FLINK-29920][docs] Minor reformat Kafka connector documentation (#21253)
9c1a1a18c4c is described below
commit 9c1a1a18c4cf968e7e627cc9b542bb60faf9dfb3
Author: Mingliang Liu <li...@apache.org>
AuthorDate: Tue Nov 8 18:00:04 2022 -0800
[FLINK-29920][docs] Minor reformat Kafka connector documentation (#21253)
---
docs/content.zh/docs/connectors/table/kafka.md | 13 ++++++-------
docs/content/docs/connectors/table/kafka.md | 13 ++++++-------
2 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/docs/content.zh/docs/connectors/table/kafka.md b/docs/content.zh/docs/connectors/table/kafka.md
index 4455d7ac642..b57da402ebd 100644
--- a/docs/content.zh/docs/connectors/table/kafka.md
+++ b/docs/content.zh/docs/connectors/table/kafka.md
@@ -471,13 +471,12 @@ ROW<`version` INT, `behavior` STRING>
### 起始消费位点
`scan.startup.mode` 配置项决定了 Kafka consumer 的启动模式。有效值为:
-<ul>
-<li><span markdown="span">`group-offsets`</span>:从 Zookeeper/Kafka 中某个指定的消费组已提交的偏移量开始。</li>
-<li><span markdown="span">`earliest-offset`</span>:从可能的最早偏移量开始。</li>
-<li><span markdown="span">`latest-offset`</span>:从最末尾偏移量开始。</li>
-<li><span markdown="span">`timestamp`</span>:从用户为每个 partition 指定的时间戳开始。</li>
-<li><span markdown="span">`specific-offsets`</span>:从用户为每个 partition 指定的偏移量开始。</li>
-</ul>
+
+* `group-offsets`:从 Zookeeper/Kafka 中某个指定的消费组已提交的偏移量开始。
+* `earliest-offset`:从可能的最早偏移量开始。
+* `latest-offset`:从最末尾偏移量开始。
+* `timestamp`:从用户为每个 partition 指定的时间戳开始。
+* `specific-offsets`:从用户为每个 partition 指定的偏移量开始。
默认值 `group-offsets` 表示从 Zookeeper/Kafka 中最近一次已提交的偏移量开始消费。
diff --git a/docs/content/docs/connectors/table/kafka.md b/docs/content/docs/connectors/table/kafka.md
index eb4bc4d3d06..a5d85989de1 100644
--- a/docs/content/docs/connectors/table/kafka.md
+++ b/docs/content/docs/connectors/table/kafka.md
@@ -521,13 +521,12 @@ Note that topic list and topic pattern only work in sources. In sinks, Flink cur
### Start Reading Position
The config option `scan.startup.mode` specifies the startup mode for Kafka consumer. The valid enumerations are:
-<ul>
-<li><span markdown="span">`group-offsets`</span>: start from committed offsets in ZK / Kafka brokers of a specific consumer group.</li>
-<li><span markdown="span">`earliest-offset`</span>: start from the earliest offset possible.</li>
-<li><span markdown="span">`latest-offset`</span>: start from the latest offset.</li>
-<li><span markdown="span">`timestamp`</span>: start from user-supplied timestamp for each partition.</li>
-<li><span markdown="span">`specific-offsets`</span>: start from user-supplied specific offsets for each partition.</li>
-</ul>
+
+* `group-offsets`: start from committed offsets in ZK / Kafka brokers of a specific consumer group.
+* `earliest-offset`: start from the earliest offset possible.
+* `latest-offset`: start from the latest offset.
+* `timestamp`: start from user-supplied timestamp for each partition.
+* `specific-offsets`: start from user-supplied specific offsets for each partition.
The default option value is `group-offsets` which indicates to consume from last committed offsets in ZK / Kafka brokers.