docs: improve descriptions

Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
This commit is contained in:
Thales Macedo Garitezi 2023-04-20 10:54:58 -03:00
parent 4af6e3eb6e
commit 631863d843
2 changed files with 5 additions and 5 deletions

View File

@ -147,7 +147,7 @@ emqx_bridge_pulsar {
"\n" "\n"
"<code>random</code>: Randomly pick a partition for each message.\n" "<code>random</code>: Randomly pick a partition for each message.\n"
"<code>roundrobin</code>: Pick each available producer in turn for each message.\n" "<code>roundrobin</code>: Pick each available producer in turn for each message.\n"
"<code>first_key_dispatch</code>: Hash Pulsar message key of the first message in a batch" "<code>key_dispatch</code>: Hash Pulsar message key of the first message in a batch"
" to a partition number." " to a partition number."
label = "Partition Strategy" label = "Partition Strategy"
} }

View File

@ -16,13 +16,13 @@ emqx_bridge_pulsar {
} }
config_enable { config_enable {
desc = "启用true或停用falsePulsar 数据桥接。" desc = "启用true或停用falsePulsar 数据桥接。"
label = "启用或停用" label = "启用或停用"
} }
servers { servers {
desc = "以<code>scheme://host[:port]</code>形式分隔的Pulsar URL列表," desc = "以逗号分隔的 <code>scheme://host[:port]</code> 格式的 Pulsar URL 列表,"
"供客户端连接使用。支持的方案是 <code>pulsar://</code> (默认)" "支持的 scheme 有 <code>pulsar://</code> (默认)"
"和<code>pulsar+ssl://</code>。默认的端口是6650。" "和<code>pulsar+ssl://</code>。默认的端口是6650。"
label = "服务员" label = "服务员"
} }
@ -94,7 +94,7 @@ emqx_bridge_pulsar {
desc = "设置消息发布时应该如何选择 Pulsar 分区。\n\n" desc = "设置消息发布时应该如何选择 Pulsar 分区。\n\n"
"<code>random</code>: 为每个消息随机选择一个分区。\n" "<code>random</code>: 为每个消息随机选择一个分区。\n"
"<code>roundrobin</code>: 依次为每条信息挑选可用的生产商。\n" "<code>roundrobin</code>: 依次为每条信息挑选可用的生产商。\n"
"<code>first_key_dispatch</code>: 将一批信息中的第一条信息的Pulsar信息密钥哈希到一个分区编号。" "<code>key_dispatch</code>: 将一批信息中的第一条信息的Pulsar信息密钥哈希到一个分区编号。"
label = "分区选择策略" label = "分区选择策略"
} }