InfluxDB Docs

Flux MQTT package

Flux MQTT functions provide tools for working with Message Queuing Telemetry Transport (MQTT) protocol.

The MQTT package is currently experimental and subject to change at any time. By using this package, you accept the risks of experimental functions.

Import the experimental/mqtt package:

import "experimental/mqtt"