From 0d36b179c06e8b314acae175412c4ece93623970 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Mon, 27 Mar 2023 11:09:58 -0300 Subject: [PATCH] docs: fix kafka offset reset policy config description --- lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf b/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf index 39b9d48f4..af0afb72b 100644 --- a/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf +++ b/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf @@ -600,9 +600,12 @@ emqx_ee_bridge_kafka { consumer_offset_reset_policy { desc { en: "Defines how the consumers should reset the start offset when " - "a topic partition has and invalid or no initial offset." + "a topic partition has an invalid offset (i.e. when an `OffsetOutOfRange` occurs)." + " Note that this is not the same as the `begin_offset`, which defines where to start" + " consumption when there is no offset committed yet." zh: "定义当一个主题分区的初始偏移量无效或没有初始偏移量时," - "消费者应如何重置开始偏移量。" + "消费者应如何重置开始偏移量。(即当发生 \"OffsetOutOfRange\" 时)。" + " 请注意,这与`begin_offset'不同,后者定义了在还没有提交偏移量的情况下从哪里开始消费。" } label { en: "Offset Reset Policy"