file.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "about": {
  3. "trial": true,
  4. "author": {
  5. "name": "EMQ",
  6. "email": "contact@emqx.io",
  7. "company": "EMQ Technologies Co., Ltd",
  8. "website": "https://www.emqx.io"
  9. },
  10. "helpUrl": {
  11. "en_US": "https://ekuiper.org/docs/en/latest/guide/sinks/builtin/file.html",
  12. "zh_CN": "https://ekuiper.org/docs/zh/latest/guide/sinks/builtin/file.html"
  13. },
  14. "description": {
  15. "en_US": "This a sink plugin for file, it can be used for saving the analysis data into file system.",
  16. "zh_CN": "本插件为文件持久化插件,可以用于将分析数据存入指定的文件中。"
  17. }
  18. },
  19. "libs": [
  20. ],
  21. "properties": [{
  22. "name": "path",
  23. "default": "",
  24. "optional": false,
  25. "control": "text",
  26. "type": "string",
  27. "hint": {
  28. "en_US": "The file path for saving the result",
  29. "zh_CN": "保存结果的文件路径"
  30. },
  31. "label": {
  32. "en_US": "Path of file",
  33. "zh_CN": "文件路径"
  34. }
  35. }, {
  36. "name": "interval",
  37. "default": 1000,
  38. "optional": true,
  39. "control": "text",
  40. "type": "int",
  41. "hint": {
  42. "en_US": "The time interval (ms) for writing the analysis result.",
  43. "zh_CN": "写入分析结果的时间间隔(毫秒)。"
  44. },
  45. "label": {
  46. "en_US": "Intervals",
  47. "zh_CN": "间隔时间"
  48. }
  49. }],
  50. "node": {
  51. "category": "sink",
  52. "icon": "iconPath",
  53. "label": {
  54. "en": "File",
  55. "zh": "文件"
  56. }
  57. }
  58. }