i am doing experiment related with telegraf realibity, this case to proof all messages from broker into telegraf will still exists and buffered in case the telegraf service is restarted.
i have been set qos = 2; max_undelivered_messages = 100; persistent_session = true; client_id = “telegraf_1” in [[inputs.mqtt_consumer]]. The fact is the telegraf input mqtt consumer received the message (from debug message), while writing into influxdb some datas is lost, example the buffered messages from broker is 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, but telegraf only write 21, 25, 29, 30 into influxdb after restarted the telegraf service.
is there anybody know how to solve this?
Thank you all