MQTT destination
The mqtt destination publishes events to an MQTT broker topic. Each event is published as a separate message.
Configuration
Options
| Option | Type | Default | Description |
|---|---|---|---|
broker | string | required | MQTT broker address (e.g. "tcp://host:1883", "ssl://host:8883") |
clientID | string | required | Client identifier |
topic | string | required | Topic to publish to |
userName | string | "" | Authentication username |
password | string | "" | Authentication password |
qos | int | 0 | Quality of Service level: 0, 1, or 2 |
retained | bool | false | Publish as retained messages |