From 631863d8432ebc798d4171b819761cb01df54304 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Thu, 20 Apr 2023 10:54:58 -0300 Subject: [PATCH] docs: improve descriptions Co-authored-by: Zaiming (Stone) Shi --- rel/i18n/emqx_bridge_pulsar.hocon | 2 +- rel/i18n/zh/emqx_bridge_pulsar.hocon | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rel/i18n/emqx_bridge_pulsar.hocon b/rel/i18n/emqx_bridge_pulsar.hocon index 1d2bb4599..205e0271e 100644 --- a/rel/i18n/emqx_bridge_pulsar.hocon +++ b/rel/i18n/emqx_bridge_pulsar.hocon @@ -147,7 +147,7 @@ emqx_bridge_pulsar { "\n" "random: Randomly pick a partition for each message.\n" "roundrobin: Pick each available producer in turn for each message.\n" - "first_key_dispatch: Hash Pulsar message key of the first message in a batch" + "key_dispatch: Hash Pulsar message key of the first message in a batch" " to a partition number." label = "Partition Strategy" } diff --git a/rel/i18n/zh/emqx_bridge_pulsar.hocon b/rel/i18n/zh/emqx_bridge_pulsar.hocon index 3af8652a4..23643060b 100644 --- a/rel/i18n/zh/emqx_bridge_pulsar.hocon +++ b/rel/i18n/zh/emqx_bridge_pulsar.hocon @@ -16,13 +16,13 @@ emqx_bridge_pulsar { } config_enable { - desc = "启用(true)或停用该(false)Pulsar 数据桥接。" + desc = "启用(true)或停用(false)该 Pulsar 数据桥接。" label = "启用或停用" } servers { - desc = "以scheme://host[:port]形式分隔的Pulsar URL列表," - "供客户端连接使用。支持的方案是 pulsar:// (默认)" + desc = "以逗号分隔的 scheme://host[:port] 格式的 Pulsar URL 列表," + "支持的 scheme 有 pulsar:// (默认)" "和pulsar+ssl://。默认的端口是6650。" label = "服务员" } @@ -94,7 +94,7 @@ emqx_bridge_pulsar { desc = "设置消息发布时应该如何选择 Pulsar 分区。\n\n" "random: 为每个消息随机选择一个分区。\n" "roundrobin: 依次为每条信息挑选可用的生产商。\n" - "first_key_dispatch: 将一批信息中的第一条信息的Pulsar信息密钥哈希到一个分区编号。" + "key_dispatch: 将一批信息中的第一条信息的Pulsar信息密钥哈希到一个分区编号。" label = "分区选择策略" }