docs: fix kafka offset reset policy config description

This commit is contained in:
Thales Macedo Garitezi 2023-03-27 11:09:58 -03:00
parent e59362a332
commit 0d36b179c0
1 changed files with 5 additions and 2 deletions

View File

@ -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"