zmq.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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/sources/plugin/zmq.html",
  12. "zh_CN": "https://ekuiper.org/docs/zh/latest/guide/sources/plugin/zmq.html"
  13. },
  14. "description": {
  15. "en_US": "The source will subscribe to a Zero Mq topic to import the messages into kuiper.",
  16. "zh_CN": "源将订阅 Zero Mq 主题以将消息导入 eKuiper。"
  17. }
  18. },
  19. "dataSource": {},
  20. "libs": [
  21. "github.com/pebbe/zmq4@v1.0.0"
  22. ],
  23. "dataSource": {
  24. "default": "topic1",
  25. "hint": {
  26. "en_US": "The topic to subscribe to, e.g. topic1",
  27. "zh_CN": "将要订阅的主题, 例如 topic1"
  28. },
  29. "label": {
  30. "en_US": "Data Source (Topic)",
  31. "zh_CN": "数据源(主题)"
  32. }
  33. },
  34. "properties": {
  35. "default": [
  36. {
  37. "name": "server",
  38. "default": "127.0.0.1:5536",
  39. "optional": false,
  40. "control": "text",
  41. "type": "string",
  42. "hint": {
  43. "en_US": "The url of the ZeroMQ server",
  44. "zh_CN": "ZeroMQ 服务器的 URL"
  45. },
  46. "label": {
  47. "en_US": "server address",
  48. "zh_CN": "服务器地址"
  49. }
  50. },
  51. {
  52. "name": "topic",
  53. "default": "",
  54. "optional": false,
  55. "control": "text",
  56. "type": "string",
  57. "hint": {
  58. "en_US": "The topic to publish to.",
  59. "zh_CN": "订阅主题"
  60. },
  61. "label": {
  62. "en_US": "topic",
  63. "zh_CN": "主题"
  64. }
  65. }
  66. ]
  67. },
  68. "outputs": [
  69. {
  70. "label": {
  71. "en_US": "Output",
  72. "zh_CN": "输出"
  73. },
  74. "value": "signal"
  75. }
  76. ],
  77. "node": {
  78. "category": "source",
  79. "icon": "iconPath",
  80. "label": {
  81. "en_US": "ZeroMQ",
  82. "zh_CN": "ZeroMQ"
  83. }
  84. }
  85. }