app.conf 411 B

123456789101112131415161718192021
  1. [receive]
  2. description="从mqtt接收数据"
  3. [receive.mqtt]
  4. clientid = "rtu002"
  5. username = "sg1"
  6. password = "dashoopwd"
  7. serveraddr = "tcp://39.98.34.197:1883"
  8. topic = "m3/#"
  9. [send]
  10. description="数据转存到nsq"
  11. [send.controller]
  12. actionUrl = "http://192.168.0.181:8091/api/remote_control/rtuudate"
  13. Nsqdtcpaddr = "39.98.34.197:9150"
  14. topic = "blackboxd2"
  15. [send.redis]
  16. addr = "39.98.34.197:26379"
  17. poolnum = 50