From f9c3115cd4c4f85f9dca5c3510884d12baaa48c2 Mon Sep 17 00:00:00 2001 From: Ilya Averyanov Date: Tue, 17 Jan 2023 16:12:09 +0200 Subject: [PATCH] chore(bridges): add more helpful descriptions Add more helpful descriptions for `command_template` option of Redis bridge. --- lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_redis.conf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_redis.conf b/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_redis.conf index a5744df4c..0589899b5 100644 --- a/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_redis.conf +++ b/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_redis.conf @@ -19,8 +19,13 @@ will be forwarded. command_template { desc { - en: """Redis Command Template""" - zh: """Redis Command 模板""" + en: """Redis command template used to export messages. Each list element stands for a command name or its argument. +For example, to push payloads in a Redis list by key `msgs`, the elements should be the following: +`rpush`, `msgs`, `${payload}`. +""" + zh: """用于推送数据的 Redis 命令模板。 每个列表元素代表一个命令名称或其参数。 +例如,要通过键值 `msgs` 将消息体推送到 Redis 列表中,数组元素应该是: `rpush`, `msgs`, `${payload}`。 +""" } label { en: "Redis Command Template"