gateway.gbt32960.conf.example 823 B

12345678910111213141516171819202122232425262728
  1. ##--------------------------------------------------------------------
  2. ## Gateway GB/T 32960
  3. ##
  4. ## Add a GB/T 32960 gateway
  5. ##--------------------------------------------------------------------
  6. ## Note: This is an example of how to configure this feature
  7. ## you should copy and paste the below data into the emqx.conf for working
  8. gateway.gbt32960 {
  9. ## When publishing or subscribing, prefix all topics with a mountpoint string.
  10. ## It's a way that you can use to implement isolation of message routing between different
  11. ## gateway protocols
  12. mountpoint = "gbt32960/"
  13. ## Re-send time interval
  14. retry_interval = "8s"
  15. ## Re-send max times
  16. max_retry_times = 3
  17. ## Max message queue length
  18. message_queue_len = 10
  19. listeners.tcp.default {
  20. bind = "0.0.0.0:7325"
  21. }
  22. }