123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- {
- "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": "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 模型文件"
- }
- }]
- }
- }
|