docs: improve descriptions

Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
This commit is contained in:
Thales Macedo Garitezi 2023-03-24 09:21:08 -03:00 committed by GitHub
parent 5bdc71af6f
commit ca820dfefc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -636,14 +636,14 @@ emqx_ee_bridge_kafka {
"<code>none</code> Uses the key from the Kafka message unchanged." "<code>none</code> Uses the key from the Kafka message unchanged."
" Note: in this case, then the key must be a valid UTF-8 string.\n" " Note: in this case, then the key must be a valid UTF-8 string.\n"
"<code>base64</code> Uses base-64 encoding on the received key." "<code>base64</code> Uses base-64 encoding on the received key."
zh: "定义了在通过MQTT转发之前如何处理Kafka消息的键或值。" zh: "定义了在通过MQTT转发之前如何处理Kafka消息的 Key。"
"<code>none</code> 使用Kafka消息中的键或值,不改变。" "<code>none</code> 使用Kafka消息中的 Key 原始值,不进行编码。”
" 注意在这种情况下那么键或值必须是一个有效的UTF-8字符串。\n" " 注意在这种情况下那么键或值必须是一个有效的UTF-8字符串。\n"
"<code>base64</code> 对收到的密钥或值使用base-64编码。" "<code>base64</code> 对收到的密钥或值使用base-64编码。"
} }
label { label {
en: "Key Encoding Mode" en: "Key Encoding Mode"
zh: "编码模式" zh: "Key 编码模式"
} }
} }
consumer_value_encoding_mode { consumer_value_encoding_mode {
@ -653,8 +653,8 @@ emqx_ee_bridge_kafka {
"<code>none</code> Uses the value from the Kafka message unchanged." "<code>none</code> Uses the value from the Kafka message unchanged."
" Note: in this case, then the value must be a valid UTF-8 string.\n" " Note: in this case, then the value must be a valid UTF-8 string.\n"
"<code>base64</code> Uses base-64 encoding on the received value." "<code>base64</code> Uses base-64 encoding on the received value."
zh: "定义了在通过MQTT转发之前如何处理Kafka消息的键或值。" zh: "定义了在通过MQTT转发之前如何处理Kafka消息的 Value。"
"<code>none</code> 使用Kafka消息中的键或值,不改变。" "<code>none</code> 使用Kafka消息中的 Value 原始值,不进行编码。"
" 注意在这种情况下那么键或值必须是一个有效的UTF-8字符串。\n" " 注意在这种情况下那么键或值必须是一个有效的UTF-8字符串。\n"
"<code>base64</code> 对收到的密钥或值使用base-64编码。" "<code>base64</code> 对收到的密钥或值使用base-64编码。"
} }