浏览代码

Merge pull request #424 from jinfahua/feat/meta

meta: add about section in metadata
EMQmyd 4 年之前
父节点
当前提交
a6afeab275
共有 4 个文件被更改,包括 41 次插入7 次删除
  1. 11 2
      plugins/sinks/file.json
  2. 12 3
      plugins/sinks/influxdb.json
  3. 7 0
      plugins/sinks/taos.json
  4. 11 2
      plugins/sinks/zmq.json

+ 11 - 2
plugins/sinks/file.json

@@ -1,10 +1,19 @@
 {
 	"author": {
-		"name": "",
-		"email": "",
+		"name": "Jiyong Huang",
+		"email": "huangjy@emqx.io",
 		"company": "EMQ Technologies Co., Ltd",
 		"website": "https://www.emqx.io"
 	},
+	"about": {
+		"trial": true,
+		"description": {
+			"en_US": "This a sink plugin for file, it can be used for saving the analysis data into file system.",
+			"zh_CN": "本插件为文件持久化插件,可以用于将分析数据存入指定的文件中。"
+		}
+	},
+	"libs": [
+	],
 	"helpUrl": {
 		"en_US": "https://github.com/emqx/kuiper/blob/dev/0.9.1/docs/en_US/plugins/sinks/file.md",
 		"zh_CN": "https://github.com/emqx/kuiper/blob/dev/0.9.1/docs/zh_CN/plugins/sinks/file.md"

+ 12 - 3
plugins/sinks/influxdb.json

@@ -1,10 +1,19 @@
 {
 	"author": {
-		"name": "",
+		"name": "Yongxing Ma",
 		"email": "",
-		"company": "EMQ Technologies Co., Ltd",
-		"website": "https://www.emqx.io"
+		"company": "China Mobile",
+		"website": ""
 	},
+	"about": {
+		"trial": false,
+		"description": {
+			"en_US": "This a sink plugin for InfluxDB, it can be used for saving the analysis data into InfluxDB.",
+			"zh_CN": "本插件为 InfluxDB 的持久化插件,可以用于将分析数据存入 InfluxDB 中。"
+		}
+	},
+	"libs": [
+	],
 	"helpUrl": {
 		"en_US": "https://github.com/emqx/kuiper/blob/dev/0.9.1/docs/en_US/plugins/sinks/influxdb.md",
 		"zh_CN": "https://github.com/emqx/kuiper/blob/dev/0.9.1/docs/zh_CN/plugins/sinks/influxdb.md"

+ 7 - 0
plugins/sinks/taos.json

@@ -8,6 +8,13 @@
 	"libs": [
 		"github.com/taosdata/driver-go@master"
 	],
+	"about": {
+		"trial": false,
+		"description": {
+			"en_US": "This a sink plugin for TDengine, it can be used for saving the analysis data into TDengine.",
+			"zh_CN": "本插件为 TDengine 的持久化插件,可以用于将分析数据存入 TDengine 中"
+		}
+	},
 	"helpUrl": {
 		"en_US": "https://github.com/emqx/kuiper/blob/master/docs/en/plugins/sinks/taos.md",
 		"zh_CN": "https://github.com/emqx/kuiper/blob/master/docs/zh/plugins/sinks/taos.md"

+ 11 - 2
plugins/sinks/zmq.json

@@ -1,10 +1,19 @@
 {
 	"author": {
-		"name": "",
-		"email": "",
+		"name": "Jiyong Huang",
+		"email": "huangjy@emqx.io",
 		"company": "EMQ Technologies Co., Ltd",
 		"website": "https://www.emqx.io"
 	},
+	"about": {
+		"trial": true,
+		"description": {
+			"en_US": "This a demo 0MQ sink plugin, it cannot be used in production env.",
+			"zh_CN": "本插件为演示 ZMQ 数据发送插件,不能使用在生产环境中"
+		}
+	},
+	"libs": [
+	],
 	"helpUrl": {
 		"en_US": "https://github.com/emqx/kuiper/blob/dev/0.9.1/docs/en_US/plugins/sinks/zmq.md",
 		"zh_CN": "https://github.com/emqx/kuiper/blob/dev/0.9.1/docs/zh_CN/plugins/sinks/zmq.md"