Supported MQTT features
ConnectMQ is a standard MQTT broker. Any MQTT 3.1.1 or MQTT 5 client works without an SDK.
| Feature | Support |
|---|---|
| Protocols | MQTT 3.1.1, MQTT 5.0 |
| Transports | TCP (1883), TLS (8883), WebSocket (8083), secure WebSocket (8084), path /mqtt |
| Authentication | Username and password per credential set; client ID bound to credentials |
| Encryption | TLS with a publicly trusted certificate (Let's Encrypt, ISRG Root X1) |
| QoS | 0, 1 and 2 on every plan |
| Retained messages | ✓ (count limited per plan) |
| Wildcards | + (one level), # (all remaining levels) |
| Shared subscriptions | $share/<group>/<filter> on Basic and Scale |
| Persistent sessions | Clean start off + session expiry (MQTT 5); queued QoS 1/2 messages |
| Last Will and Testament | ✓ |
| Keep alive | ✓ |
| MQTT 5 reason codes | ✓ (see Troubleshooting) |
| MQTT 5 properties | User properties, content type, response topic / correlation data, message expiry |
| Access control | Per-topic ACL on Basic and Scale (ACL) |
QoS levels
| QoS | Guarantee | Use for |
|---|---|---|
| 0 | At most once | Frequent sensor values where a lost reading does not matter |
| 1 | At least once (may duplicate) | Most telemetry and events |
| 2 | Exactly once | Commands and billing events where duplicates hurt |
Retained messages
Publish with the retain flag and the broker stores the last message of the topic and delivers it to every new subscriber, ideal for device status (online/offline) and configuration. Publish an empty retained message to clear it.
Last Will and Testament
Set a will message when connecting (for example topic .../cnc-01/status, payload {"state":"offline"}, retained). If the device disappears without a clean disconnect, the broker publishes it for you. Publish {"state":"online"} (retained) right after connecting.
Request / response
With MQTT 5, set a response topic and correlation data on a command; the device replies to that topic with the same correlation data. The GitHub Action uses this pattern to wait for a reply.
Shared subscriptions
Subscribers that use the same $share/<group>/<filter> share the messages: each message goes to one member of the group. Use it to scale a back-end consumer horizontally. Requires Basic or Scale.
Not supported
- MQTT-SN and CoAP.
- Client certificate (mutual TLS) authentication: use username and password.
- Bridging another broker into ConnectMQ is done from the other side (configure your local broker or ConnectMQ Edge as a client of ConnectMQ).