{ "about": { "trial": false, "author": { "name": "EMQ", "email": "contact@emqx.io", "company": "EMQ Technologies Co., Ltd", "website": "https://www.emqx.io" }, "helpUrl": { "en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/rules/sources/mqtt.md", "zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/rules/sources/mqtt.md" }, "description": { "en_US": "Kuiper provides built-in support for MQTT source stream, which can subscribe the message from MQTT broker and feed into the Kuiper processing pipeline.", "zh_CN": "Kuiper 为 MQTT 源流提供了内置支持,流可以订阅来自 MQTT 代理的消息并输入Kuiper 处理管道。" } }, "libs": [], "properties": { "default": [{ "name": "qos", "default": 1, "optional": true, "control": "select", "type": "int", "values": [0, 1, 2], "hint": { "en_US": "The default subscription QoS level.", "zh_CN": "默认订阅 QoS 级别" }, "label": { "en_US": "Qos level", "zh_CN": "QoS 级别" } }, { "name": "servers", "default": ["tcp://127.0.0.1:1883"], "optional": true, "control": "list", "type": "list_string", "hint": { "en_US": "The server list for MQTT message broker. Currently, only ONE server can be specified.", "zh_CN": "MQTT 消息代理的服务器列表。 当前,只能指定一个服务器。" }, "label": { "en_US": "Server list", "zh_CN": "服务器列表" } }, { "name": "username", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "The username for MQTT connection. The configuration will not be used if certificationPath or privateKeyPath is specified.", "zh_CN": "MQTT 连接用户名。如果指定了 certificationPath 或者 privateKeyPath,那么该项配置不会被使用。" }, "label": { "en_US": "Username", "zh_CN": "用户名" } }, { "name": "password", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "The password for MQTT connection. The configuration will not be used if certificationPath or privateKeyPath is specified.", "zh_CN": "MQTT 连接密码。如果指定了 certificationPath 或者 privateKeyPath,那么该项配置不会被使用。" }, "label": { "en_US": "Password", "zh_CN": "密码" } }, { "name": "certificationPath", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "The location of certification path. It can be an absolute path, or a relative path.", "zh_CN": "证书路径。可以为绝对路径,也可以为相对路径。如果指定的是相对路径,那么父目录为执行 server 命令的路径。" }, "label": { "en_US": "Certification path", "zh_CN": "证书路径" } }, { "name": "privateKeyPath", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "The location of private key path. It can be an absolute path, or a relative path. ", "zh_CN": "私钥路径。可以为绝对路径,也可以为相对路径。" }, "label": { "en_US": "Private key path", "zh_CN": "私钥路径" } }, { "name": "rootCaPath", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "The location of root ca path. It can be an absolute path, or a relative path. ", "zh_CN": "根证书路径,用以验证服务器证书。可以为绝对路径,也可以为相对路径。" }, "label": { "en_US": "Root Ca path", "zh_CN": "根证书路径" } }, { "name": "insecureSkipVerify", "default": false, "optional": true, "control": "radio", "type": "bool", "hint": { "en_US": "Control if to skip the certification verification. If it is set to true, then skip certification verification; Otherwise, verify the certification.", "zh_CN": "控制是否跳过证书认证。如果被设置为 true,那么跳过证书认证;否则进行证书验证。" }, "label": { "en_US": "Skip Certification verification", "zh_CN": "跳过证书验证" } }, { "name": "kubeedgeVersion", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "Kubeedge version number. Different version numbers correspond to different file contents.", "zh_CN": "Kubeedge 版本号,不同的版本号对应的文件内容不同" }, "label": { "en_US": "Kubeedge version", "zh_CN": "Kubeedge 版本号" } }, { "name": "kubeedgeModelFile", "default": "", "optional": true, "control": "text", "type": "string", "hint": { "en_US": "The name of KubeEdge template file. The file is located in the specified etc/sources folder.", "zh_CN": "KubeEdge 模版文件名,文件指定放在 etc/sources 文件夹中" }, "label": { "en_US": "KubeEdge model file", "zh_CN": "KubeEdge 模型文件" } }] } }