zmq.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. }