emqx_limiter_schema.hocon 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. emqx_limiter_schema {
  2. max_conn_rate.desc:
  3. """Maximum connection rate.<br/>
  4. This is used to limit the connection rate for this node,
  5. once the limit is reached, new connections will be deferred or refused"""
  6. max_conn_rate.label:
  7. """Maximum Connection Rate"""
  8. messages_rate.desc:
  9. """Messages publish rate.<br/>
  10. This is used to limit the inbound message numbers for this node,
  11. once the limit is reached, the restricted client will slow down and even be hung for a while."""
  12. messages_rate.label:
  13. """Messages Publish Rate"""
  14. bytes_rate.desc:
  15. """Data publish rate.<br/>
  16. This is used to limit the inbound bytes rate for this node,
  17. once the limit is reached, the restricted client will slow down and even be hung for a while."""
  18. bytes_rate.label:
  19. """Data Publish Rate"""
  20. bucket_cfg.desc:
  21. """Bucket Configs"""
  22. bucket_cfg.label:
  23. """Buckets"""
  24. burst.desc:
  25. """The burst, This value is based on rate.<br/>
  26. This value + rate = the maximum limit that can be achieved when limiter burst."""
  27. burst.label:
  28. """Burst"""
  29. bytes.desc:
  30. """The `bytes` limiter.
  31. This is used to limit the inbound bytes rate for this EMQX node.
  32. Once the limit is reached, the restricted client will be slow down even be hung for a while."""
  33. bytes.label:
  34. """Bytes"""
  35. client.desc:
  36. """The rate limit for each user of the bucket"""
  37. client.label:
  38. """Per Client"""
  39. connection.desc:
  40. """The connection limiter.
  41. This is used to limit the connection rate for this EMQX node.
  42. Once the limit is reached, new connections will be refused"""
  43. connection.label:
  44. """Connection"""
  45. divisible.desc:
  46. """Is it possible to split the number of requested tokens?"""
  47. divisible.label:
  48. """Divisible"""
  49. failure_strategy.desc:
  50. """The strategy when all the retries failed."""
  51. failure_strategy.label:
  52. """Failure Strategy"""
  53. initial.desc:
  54. """The initial number of tokens for this bucket."""
  55. initial.label:
  56. """Initial"""
  57. internal.desc:
  58. """Limiter for EMQX internal app."""
  59. low_watermark.desc:
  60. """If the remaining tokens are lower than this value,
  61. the check/consume will succeed, but it will be forced to wait for a short period of time."""
  62. low_watermark.label:
  63. """Low Watermark"""
  64. max_retry_time.desc:
  65. """The maximum retry time when acquire failed."""
  66. max_retry_time.label:
  67. """Max Retry Time"""
  68. message_routing.desc:
  69. """The message routing limiter.
  70. This is used to limit the forwarding rate for this EMQX node.
  71. Once the limit is reached, new publish will be refused"""
  72. message_routing.label:
  73. """Message Routing"""
  74. messages.desc:
  75. """The `messages` limiter.
  76. This is used to limit the inbound message numbers for this EMQX node
  77. Once the limit is reached, the restricted client will be slow down even be hung for a while."""
  78. messages.label:
  79. """Messages"""
  80. rate.desc:
  81. """Rate for this bucket."""
  82. rate.label:
  83. """Rate"""
  84. }