Merge pull request #9792 from savonarola/redis-bridge-examples

chore(bridges): add more helpful descriptions
This commit is contained in:
Zaiming (Stone) Shi 2023-01-18 18:01:35 +01:00 committed by GitHub
commit caf50d1b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -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"