emqx_bridge_rocketmq.hocon 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. emqx_bridge_rocketmq {
  2. config_enable.desc:
  3. """Enable or disable this bridge"""
  4. config_enable.label:
  5. """Enable Or Disable Bridge"""
  6. desc_config.desc:
  7. """Configuration for a RocketMQ bridge."""
  8. desc_config.label:
  9. """RocketMQ Bridge Configuration"""
  10. desc_name.desc:
  11. """Bridge name."""
  12. desc_name.label:
  13. """Bridge Name"""
  14. desc_type.desc:
  15. """The Bridge Type"""
  16. desc_type.label:
  17. """Bridge Type"""
  18. local_topic.desc:
  19. """The MQTT topic filter to be forwarded to RocketMQ. All MQTT `PUBLISH` messages with the topic
  20. matching the `local_topic` will be forwarded.<br/>
  21. NOTE: if the bridge is used as a rule action, `local_topic` should be left empty otherwise the messages will be duplicated."""
  22. local_topic.label:
  23. """Local Topic"""
  24. template.desc:
  25. """Template, the default value is empty. When this value is empty the whole message will be stored in the RocketMQ.<br>
  26. The template can be any valid string with placeholders, example:<br>
  27. - ${id}, ${username}, ${clientid}, ${timestamp}<br>
  28. - {"id" : ${id}, "username" : ${username}}"""
  29. template.label:
  30. """Template"""
  31. action_parameters.desc:
  32. """Action specific configuration."""
  33. action_parameters.label:
  34. """Action"""
  35. rocketmq_action.desc:
  36. """Configuration for RocketMQ Action"""
  37. rocketmq_action.label:
  38. """RocketMQ Action Configuration"""
  39. config_connector.desc:
  40. """Configuration for an RocketMQ Client."""
  41. config_connector.label:
  42. """RocketMQ Client Configuration"""
  43. strategy.desc:
  44. """Producer key dispatch strategy, the default is `roundrobin`, also supports placeholders, such as: `clientid`, `messageid`, `username`."""
  45. }