influxdata/telegraf

[outputs.mqtt] Allow setting last will and testament

Open

#16.046 geöffnet am 20. Okt. 2024

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Go (4.161 Forks)batch import
feature requesthelp wantedsize/m

Repository-Metriken

Stars
 (9.892 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 12h) (136 gemergte PRs in 30 T)

Beschreibung

Use Case

Bing able to set the last will and testament means that we can tell if telegraf has disconnected ungracefully from the mqtt broker on the subscriber side.

Expected behavior

mqtt producer plugin has options to set the last will and testament topic/payload/retain/qos which are sent to the broker on connect.

Actual behavior

These options don't exist yet.

Additional info

No response

Contributor Guide