emqx_modules.conf 638 B

123456789101112131415161718192021222324252627282930313233
  1. # empty
  2. emqx_modules: {
  3. modules:[
  4. {
  5. type: delayed
  6. enable: false
  7. },
  8. {
  9. type: presence
  10. enable: true
  11. qos: 1
  12. },
  13. {
  14. type: recon
  15. enable: true
  16. },
  17. {
  18. type: rewrite
  19. enable: false
  20. rules:[{
  21. action: publish
  22. source_topic: "x/#"
  23. re: "^x/y/(.+)$"
  24. dest_topic: "z/y/$1"
  25. }]
  26. },
  27. {
  28. type: topic_metrics
  29. enable: false
  30. topics: ["topic/#"]
  31. }
  32. ]
  33. }