taos.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "author": {
  3. "name": "Yuedong Ma",
  4. "email": "mayuedong@emqx.io",
  5. "company": "EMQ Technologies Co., Ltd",
  6. "website": "https://www.emqx.io"
  7. },
  8. "libs": [
  9. "github.com/taosdata/driver-go@master"
  10. ],
  11. "helpUrl": {
  12. "en_US": "https://github.com/emqx/kuiper/blob/master/docs/en/plugins/sinks/taos.md",
  13. "zh_CN": "https://github.com/emqx/kuiper/blob/master/docs/zh/plugins/sinks/taos.md"
  14. },
  15. "properties": [{
  16. "name": "port",
  17. "default": 0,
  18. "optional": false,
  19. "control": "text",
  20. "type": "int",
  21. "hint": {
  22. "en_US": "Port of Taosdb",
  23. "zh_CN": "Taosdb 端口号"
  24. },
  25. "label": {
  26. "en_US": "DB port",
  27. "zh_CN": "数据库端口"
  28. }
  29. }, {
  30. "name": "ip",
  31. "default": "127.0.0.1",
  32. "optional": false,
  33. "control": "text",
  34. "type": "string",
  35. "hint": {
  36. "en_US": "IP address of Taosdb",
  37. "zh_CN": "Taosdb IP 地址"
  38. },
  39. "label": {
  40. "en_US": "DB IP address",
  41. "zh_CN": "数据库IP 地址"
  42. }
  43. }, {
  44. "name": "user",
  45. "default": "root",
  46. "optional": false,
  47. "control": "text",
  48. "type": "string",
  49. "hint": {
  50. "en_US": "User of Taosdb",
  51. "zh_CN": "Taosdb 用户名"
  52. },
  53. "label": {
  54. "en_US": "DB user",
  55. "zh_CN": "数据库用户名"
  56. }
  57. }, {
  58. "name": "password",
  59. "default": "",
  60. "optional": false,
  61. "control": "text",
  62. "type": "string",
  63. "hint": {
  64. "en_US": "Password of Taosdb",
  65. "zh_CN": "数据库密码"
  66. },
  67. "label": {
  68. "en_US": "DB password",
  69. "zh_CN": "数据库密码"
  70. }
  71. }, {
  72. "name": "database",
  73. "default": "",
  74. "optional": false,
  75. "control": "text",
  76. "type": "string",
  77. "hint": {
  78. "en_US": "name of database",
  79. "zh_CN": "库名称"
  80. },
  81. "label": {
  82. "en_US": "Database name",
  83. "zh_CN": "库名称"
  84. }
  85. }, {
  86. "name": "table",
  87. "default": "",
  88. "optional": false,
  89. "control": "text",
  90. "type": "string",
  91. "hint": {
  92. "en_US": "Name of table",
  93. "zh_CN": "表名"
  94. },
  95. "label": {
  96. "en_US": "Name of table",
  97. "zh_CN": "表名"
  98. }
  99. }, {
  100. "name": "fields",
  101. "default": [],
  102. "optional": false,
  103. "control": "list",
  104. "type": "list_string",
  105. "hint": {
  106. "en_US": "Field of table",
  107. "zh_CN": "表字段"
  108. },
  109. "label": {
  110. "en_US": "table field",
  111. "zh_CN": "表字段"
  112. }
  113. }]
  114. }