Jelajahi Sumber

docs: fix kafka offset reset policy config description

Thales Macedo Garitezi 2 tahun lalu
induk
melakukan
0d36b179c0
1 mengubah file dengan 5 tambahan dan 2 penghapusan
  1. 5 2
      lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf

+ 5 - 2
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"