zmq.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. "libs": [
  20. "github.com/pebbe/zmq4@v1.0.0"
  21. ],
  22. "dataSource": {
  23. "default": "topic1",
  24. "hint": {
  25. "en_US": "The topic to subscribe to, e.g. topic1",
  26. "zh_CN": "将要订阅的主题, 例如 topic1"
  27. },
  28. "label": {
  29. "en_US": "Data Source (Topic)",
  30. "zh_CN": "数据源(主题)"
  31. }
  32. },
  33. "properties": {
  34. "default": [
  35. {
  36. "name": "server",
  37. "default": "127.0.0.1:5536",
  38. "optional": false,
  39. "control": "text",
  40. "type": "string",
  41. "hint": {
  42. "en_US": "The url of the ZeroMQ server",
  43. "zh_CN": "ZeroMQ 服务器的 URL"
  44. },
  45. "label": {
  46. "en_US": "server address",
  47. "zh_CN": "服务器地址"
  48. }
  49. },
  50. {
  51. "name": "topic",
  52. "default": "",
  53. "optional": false,
  54. "control": "text",
  55. "type": "string",
  56. "hint": {
  57. "en_US": "The topic to publish to.",
  58. "zh_CN": "订阅主题"
  59. },
  60. "label": {
  61. "en_US": "topic",
  62. "zh_CN": "主题"
  63. }
  64. }
  65. ]
  66. },
  67. "outputs": [
  68. {
  69. "label": {
  70. "en_US": "Output",
  71. "zh_CN": "输出"
  72. },
  73. "value": "signal"
  74. }
  75. ],
  76. "node": {
  77. "category": ["Protocol","Protocol1"],
  78. "icon": "iconPath",
  79. "label": {
  80. "en_US": "ZMQ",
  81. "zh_CN": "ZMQ"
  82. }
  83. }
  84. }