75 lines
1.9 KiB
Plaintext
75 lines
1.9 KiB
Plaintext
emqx_ee_bridge_pgsql {
|
||
|
||
local_topic {
|
||
desc {
|
||
en: """The MQTT topic filter to be forwarded to PostgreSQL. All MQTT 'PUBLISH' messages with the topic
|
||
matching the local_topic will be forwarded.</br>
|
||
NOTE: if this bridge is used as the action of a rule (EMQX rule engine), and also local_topic is
|
||
configured, then both the data got from the rule and the MQTT messages that match local_topic
|
||
will be forwarded.
|
||
"""
|
||
zh: """发送到 'local_topic' 的消息都会转发到 PostgreSQL。 </br>
|
||
注意:如果这个 Bridge 被用作规则(EMQX 规则引擎)的输出,同时也配置了 'local_topic' ,那么这两部分的消息都会被转发。
|
||
"""
|
||
}
|
||
label {
|
||
en: "Local Topic"
|
||
zh: "本地 Topic"
|
||
}
|
||
}
|
||
|
||
sql_template {
|
||
desc {
|
||
en: """SQL Template"""
|
||
zh: """SQL 模板"""
|
||
}
|
||
label {
|
||
en: "SQL Template"
|
||
zh: "SQL 模板"
|
||
}
|
||
}
|
||
config_enable {
|
||
desc {
|
||
en: """Enable or disable this bridge"""
|
||
zh: """启用/禁用桥接"""
|
||
}
|
||
label {
|
||
en: "Enable Or Disable Bridge"
|
||
zh: "启用/禁用桥接"
|
||
}
|
||
}
|
||
|
||
desc_config {
|
||
desc {
|
||
en: """Configuration for an PostgreSQL bridge."""
|
||
zh: """PostgreSQL 桥接配置"""
|
||
}
|
||
label: {
|
||
en: "PostgreSQL Bridge Configuration"
|
||
zh: "PostgreSQL 桥接配置"
|
||
}
|
||
}
|
||
|
||
desc_type {
|
||
desc {
|
||
en: """The Bridge Type"""
|
||
zh: """Bridge 类型"""
|
||
}
|
||
label {
|
||
en: "Bridge Type"
|
||
zh: "桥接类型"
|
||
}
|
||
}
|
||
|
||
desc_name {
|
||
desc {
|
||
en: """Bridge name."""
|
||
zh: """桥接名字"""
|
||
}
|
||
label {
|
||
en: "Bridge Name"
|
||
zh: "桥接名字"
|
||
}
|
||
}
|
||
}
|