redis.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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/builtin/redis.html",
  12. "zh_CN": "https://ekuiper.org/docs/zh/latest/guide/sources/builtin/redis.html"
  13. },
  14. "description": {
  15. "en_US": "Read message from Redis",
  16. "zh_CN": "从 Redis 中读取消息"
  17. }
  18. },
  19. "libs": [],
  20. "dataSource": {
  21. "default": "0",
  22. "hint": {
  23. "en_US": "The Redis database to connect to, e.g. 0",
  24. "zh_CN": "将要连接的 Redis 数据库号,例如 0"
  25. },
  26. "label": {
  27. "en_US": "Data Source (Database Number)",
  28. "zh_CN": "数据源(数据库号)"
  29. }
  30. },
  31. "properties": {
  32. "default": [
  33. {
  34. "name": "addr",
  35. "default": "10.122.48.17:6379",
  36. "optional": false,
  37. "control": "text",
  38. "type": "string",
  39. "hint": {
  40. "en_US": "The addr of the Redis,example: 10.122.48.17:6379",
  41. "zh_CN": "Redis的地址, 例如: 10.122.48.17:6379"
  42. },
  43. "label": {
  44. "en_US": "Addr",
  45. "zh_CN": "地址"
  46. }
  47. },
  48. {
  49. "name": "username",
  50. "default": "",
  51. "optional": true,
  52. "control": "text",
  53. "type": "string",
  54. "hint": {
  55. "en_US": "The Redis user name",
  56. "zh_CN": "Redis 用户名"
  57. },
  58. "label": {
  59. "en_US": "Username",
  60. "zh_CN": "用户名"
  61. }
  62. },
  63. {
  64. "name": "password",
  65. "default": "",
  66. "optional": true,
  67. "control": "text",
  68. "type": "string",
  69. "hint": {
  70. "en_US": "The Redis login password",
  71. "zh_CN": "Redis 登陆密码"
  72. },
  73. "label": {
  74. "en_US": "Password",
  75. "zh_CN": "密码"
  76. }
  77. },
  78. {
  79. "name": "dataType",
  80. "default": "string",
  81. "optional": false,
  82. "control": "select",
  83. "type": "string",
  84. "values": [
  85. "string",
  86. "list"
  87. ],
  88. "hint": {
  89. "en_US": "The Redis data type, could be string or list. The default is string.",
  90. "zh_CN": "Redis 数据的类型,可以为 string 或者 list, 默认是 string。"
  91. },
  92. "label": {
  93. "en_US": "data type",
  94. "zh_CN": "数据类型"
  95. }
  96. }
  97. ]
  98. },
  99. "node": {
  100. "category": "source",
  101. "icon": "iconPath",
  102. "label": {
  103. "en_US": "Redis",
  104. "zh_CN": "Redis"
  105. }
  106. }
  107. }