Example connecting a MQTT client to an InfluxDB database using goqtt.
configuration
Configuration is done through environment variables. The InfluxDB server and bucket, as well as the MQTT broker and topic, should be set using the following environment variable names.