zmq.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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://github.com/lf-edge/ekuiper/blob/master/docs/en_US/rules/sources/plugin/zmq.md",
  12. "zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/rules/sources/plugin/zmq.md"
  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. "properties": {
  23. "default": [
  24. {
  25. "name": "server",
  26. "default": "127.0.0.1:5536",
  27. "optional": false,
  28. "control": "text",
  29. "type": "string",
  30. "hint": {
  31. "en_US": "The url of the ZeroMQ server",
  32. "zh_CN": "ZeroMQ 服务器的 URL"
  33. },
  34. "label": {
  35. "en_US": "server address",
  36. "zh_CN": "服务器地址"
  37. }
  38. },
  39. {
  40. "name": "topic",
  41. "default": "",
  42. "optional": false,
  43. "control": "text",
  44. "type": "string",
  45. "hint": {
  46. "en_US": "The topic to publish to.",
  47. "zh_CN": "订阅主题"
  48. },
  49. "label": {
  50. "en_US": "topic",
  51. "zh_CN": "主题"
  52. }
  53. }
  54. ]
  55. },
  56. "outputs": [
  57. {
  58. "label": {
  59. "en_US": "Output",
  60. "zh_CN": "输出"
  61. },
  62. "value": "signal"
  63. }
  64. ],
  65. "node": {
  66. "category": ["Protocol","Protocol1"],
  67. "icon": "iconPath",
  68. "label": {
  69. "en_US": "ZMQ",
  70. "zh_CN": "ZMQ"
  71. }
  72. }
  73. }