Closed dogada closed 5 years ago
As it stated at https://github.com/eclipse/paho.mqtt.golang/issues/341#issuecomment-513407661 above error may be caused by outdated paho.mqtt.golang
dependency. Can it be updated to 1.2 version?
We tested nightly builds as asked in https://github.com/influxdata/telegraf/pull/6149 in our environment and we don't see stack trace mentioned in #6142 but the problem still persists but with complete silence in logs now. Once per 3-4 days Telegraf just stops to receive data from MQTT broker (we use Mosqitto) and we don't see any diagnostic messages in the logs.
Relevant telegraf.conf:
System info:
Telegraf 1.10.4 in Docker version 18.06.1-ce, build e68fc7a Ubuntu 18.04 LTS
Steps to reproduce:
Start TICK stack, configure Telegraf to read from MQTT and write to Influx and see failures every 2-3 hours. It worked fine when traffic to MQTT was approx. 500 records/second, but then when MQTT traffic became 3000 records/seconds, telegraf started to fail constantly.
Expected behavior:
Should read from MQTT and write to Influx without stops.
Actual behavior:
Works 2-3 hours, than becomes unstable and constantly restarts.