This is an automated email from the ASF dual-hosted git repository. martijnvisser pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/flink-connector-kafka.git
commit 8b0048521580d6b2fcc38088bebd4464657c5042 Author: Mingliang Liu <lium...@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 4455d7a..b57da40 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 eb4bc4d..a5d8598 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.