emqx_bridge_redis_schema.hocon 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. emqx_bridge_redis_schema {
  2. redis_parameters.label:
  3. """Redis Type Specific Parameters"""
  4. redis_parameters.desc:
  5. """Set of parameters specific for the given type of this Redis connector, `redis_type` can be one of `single`, `cluster` or `sentinel`."""
  6. producer_action.desc:
  7. """The parameters of the action."""
  8. producer_action.label:
  9. """Action Parameters"""
  10. batch_size.label:
  11. """Batch Size"""
  12. batch_size.desc:
  13. """This parameter defines the upper limit of the batch count.
  14. Setting this value to 1 effectively disables batching, as it indicates that only one item will be processed per batch.
  15. Note on Redis Cluster Mode:
  16. In the context of Redis Cluster Mode, it is important to note that batching is not supported.
  17. Consequently, the batch_size is always set to 1,
  18. reflecting the mode inherent limitation in handling batch operations."""
  19. batch_time.desc:
  20. """Maximum waiting interval when accumulating a batch at a low message rates for more efficient resource usage."""
  21. batch_time.label:
  22. """Max batch wait time, disable when in Redis Cluster Mode."""
  23. redis_action.label:
  24. """Redis Action"""
  25. redis_action.desc:
  26. """Action to interact with a Redis connector."""
  27. }