Skip to content

Commit 1f4038f

Browse files
committed
pipeline: inputs: mqtt: document QoS 2, SUBSCRIBE and session handling
Signed-off-by: Srinivas Chippagiri <cvas22@gmail.com>
1 parent 9dbae87 commit 1f4038f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎pipeline/inputs/mqtt.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The plugin supports the following configuration parameters:
2323
- Defaults for `listen` and `port` are `0.0.0.0` and `1883`, so you can omit them if you want the standard MQTT listener.
2424
- Payloads are expected to be JSON maps; non-JSON payloads will fail to parse.
2525
- In v5.1.3 or later, the plugin closes the connection when it receives a `PUBLISH` packet with an invalid QoS level (`3`), or when it can't write a reply to the client.
26+
- The plugin only receives published messages. It completes the QoS 2 handshake (`PUBREL` is answered with `PUBCOMP`), answers `SUBSCRIBE` with a `SUBACK` that refuses every topic filter and `UNSUBSCRIBE` with an `UNSUBACK`, and closes the connection if a client sends a second `CONNECT`. It doesn't keep session state, so `CONNACK` always reports no session present.
2627
{% endhint %}
2728

2829
### TLS / SSL

0 commit comments

Comments
 (0)