Best practices for dealing with compressed payloads in Telegraf

Hi Everyone, what is the preferred method within a telegraf.conf for decompressing an MQTT payload?

The MQTT payload is hitting Mosquitto broker but is compressed JSON in zip format.

Am I better off decompressing it before ingestion via telegraf or can this be handled within the telegraf.conf?

Thank you!

@somanyquestions currently this is not possible for mqtt_consumer. Please open a feature request and describe your request above. If there is any way to “autodetect” this from the topic, please also add this information to theissue!

Many thanks @srebhan, will do.