redis.json 2.3 KB

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