chore: bad typo

This commit is contained in:
Zhongwen Deng 2023-02-02 11:43:04 +08:00
parent ec59977ca0
commit 1a90c1654c
2 changed files with 7 additions and 7 deletions

View File

@ -59,7 +59,7 @@ For bridges only have ingress direction data flow, it can be set to 0 otherwise
start_timeout {
desc {
en: """If 'start_after_created' enabled, how long time do we wait for the resource get started, in milliseconds."""
zh: """如果选择了创建后立即启动资源,此选项用来设置等待资源启动的超时时间,单位秒。"""
zh: """如果选择了创建后立即启动资源,此选项用来设置等待资源启动的超时时间,单位秒。"""
}
label {
en: """Start Timeout"""
@ -80,8 +80,8 @@ For bridges only have ingress direction data flow, it can be set to 0 otherwise
query_mode {
desc {
en: """Query mode. Optional 'sync/async', default 'sync'."""
zh: """请求模式。可选 '同步/异步',默认为'步'模式。"""
en: """Query mode. Optional 'sync/async', default 'async'."""
zh: """请求模式。可选 '同步/异步',默认为'步'模式。"""
}
label {
en: """Query mode"""

View File

@ -303,7 +303,7 @@ emqx_ee_bridge_kafka {
"When a single message is over the limit, it is still sent (as a single element batch)."
zh: "最大消息批量字节数。"
"大多数 Kafka 环境的默认最低值是 1 MBEMQX 的默认值比 1 MB 更小是因为需要"
"补偿 Kafka 消息编码需要的额外字节(尤其是当每条消息都很小的情况下)。"
"补偿 Kafka 消息编码需要的额外字节(尤其是当每条消息都很小的情况下)。"
"当单个消息的大小超过该限制时,它仍然会被发送,(相当于该批量中只有单个消息)。"
}
label {
@ -371,7 +371,7 @@ emqx_ee_bridge_kafka {
"Greater value typically means better throughput. However, there can be a risk of message reordering when this "
"value is greater than 1."
zh: "设置 Kafka 生产者(每个分区一个)在收到 Kafka 的确认前最多发送多少个请求(批量)。"
"调大这个值通常可以增加吞吐量,但是,当该值设置大于 1 存在消息乱序的风险。"
"调大这个值通常可以增加吞吐量,但是,当该值设置大于 1 存在消息乱序的风险。"
}
label {
en: "Max Inflight"
@ -395,14 +395,14 @@ emqx_ee_bridge_kafka {
desc {
en: "Message buffer mode.\n\n"
"<code>memory</code>: Buffer all messages in memory. The messages will be lost in case of EMQX node restart\n"
"<code>disc</code>: Buffer all messages on disk. The messages on disk are able to survive EMQX node restart.\n"
"<code>disk</code>: Buffer all messages on disk. The messages on disk are able to survive EMQX node restart.\n"
"<code>hybrid</code>: Buffer message in memory first, when up to certain limit "
"(see <code>segment_bytes</code> config for more information), then start offloading "
"messages to disk, Like <code>memory</code> mode, the messages will be lost in case of "
"EMQX node restart."
zh: "消息缓存模式。\n"
"<code>memory</code>: 所有的消息都缓存在内存里。如果 EMQX 服务重启,缓存的消息会丢失。\n"
"<code>disc</code>: 缓存到磁盘上。EMQX 重启后会继续发送重启前未发送完成的消息。\n"
"<code>disk</code>: 缓存到磁盘上。EMQX 重启后会继续发送重启前未发送完成的消息。\n"
"<code>hybrid</code>: 先将消息缓存在内存中,当内存中的消息堆积超过一定限制"
"(配置项 <code>segment_bytes</code> 描述了该限制)后,后续的消息会缓存到磁盘上。"
"与 <code>memory</code> 模式一样,如果 EMQX 服务重启,缓存的消息会丢失。"