kafka.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "about": {
  3. "trial": true,
  4. "author": {
  5. "name": "carlclone",
  6. "email": "carlclone@gmail.com",
  7. "company": "personal",
  8. "website": "https://www.github.com/carlclone"
  9. },
  10. "helpUrl": {
  11. "en_US": "https://ekuiper.org/docs/en/latest/guide/sinks/plugin/kafka.html",
  12. "zh_CN": "https://ekuiper.org/docs/zh/latest/guide/sinks/plugin/kafka.html"
  13. },
  14. "description": {
  15. "en_US": "This a sink for Kafka, it can be used for saving the analysis data into Redis.",
  16. "zh_CN": "为 Kafka 的持久化插件,可以用于将分析数据存入 Kafka 中"
  17. }
  18. },
  19. "libs": [
  20. "github.com/segmentio/kafka-go@v0.4.39"
  21. ],
  22. "properties": [
  23. {
  24. "name": "brokers",
  25. "default": "127.0.0.1:9092,127.0.0.2:9092",
  26. "optional": false,
  27. "control": "text",
  28. "type": "string",
  29. "hint": {
  30. "en_US": "The url of the Kafka broker list",
  31. "zh_CN": "Kafka brokers的 URL 列表"
  32. },
  33. "label": {
  34. "en_US": "broker list",
  35. "zh_CN": "Broker url 列表"
  36. }
  37. },
  38. {
  39. "name": "topic",
  40. "default": "",
  41. "optional": false,
  42. "control": "text",
  43. "type": "string",
  44. "hint": {
  45. "en_US": "The topic to publish to.",
  46. "zh_CN": "订阅主题"
  47. },
  48. "label": {
  49. "en_US": "Topic",
  50. "zh_CN": "主题"
  51. }
  52. },
  53. {
  54. "name": "saslAuthType",
  55. "default": "none",
  56. "optional": false,
  57. "control": "select",
  58. "values": [
  59. "none",
  60. "plain",
  61. "scram"
  62. ],
  63. "type": "string",
  64. "hint": {
  65. "en_US": "Sasl auth type of Kafka",
  66. "zh_CN": "Kafka 的 Sasl 认证类型"
  67. },
  68. "label": {
  69. "en_US": "Sasl auth type",
  70. "zh_CN": "Sasl 认证类型"
  71. }
  72. },
  73. {
  74. "name": "saslUserName",
  75. "default": "",
  76. "optional": true,
  77. "control": "text",
  78. "type": "string",
  79. "hint": {
  80. "en_US": "Sasl username for authentication",
  81. "zh_CN": "Sasl 认证使用的用户名"
  82. },
  83. "label": {
  84. "en_US": "Sasl username",
  85. "zh_CN": "Sasl 用户名"
  86. }
  87. },
  88. {
  89. "name": "saslPassword",
  90. "default": "",
  91. "optional": true,
  92. "control": "text",
  93. "type": "string",
  94. "hint": {
  95. "en_US": "Sasl password for authentication",
  96. "zh_CN": "Sasl 认证使用的密码"
  97. },
  98. "label": {
  99. "en_US": "Sasl password",
  100. "zh_CN": "Sasl 密码"
  101. }
  102. }
  103. ],
  104. "node": {
  105. "category": "sink",
  106. "icon": "iconPath",
  107. "label": {
  108. "en": "Kafka",
  109. "zh": "Kafka"
  110. }
  111. }
  112. }