Skip to content

Supported MQTT features ​

ConnectMQ is a standard MQTT broker. Any MQTT 3.1.1 or MQTT 5 client works without an SDK.

FeatureSupport
ProtocolsMQTT 3.1.1, MQTT 5.0
TransportsTCP (1883), TLS (8883), WebSocket (8083), secure WebSocket (8084), path /mqtt
AuthenticationUsername and password per credential set; client ID bound to credentials
EncryptionTLS with a publicly trusted certificate (Let's Encrypt, ISRG Root X1)
QoS0, 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 sessionsClean 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 propertiesUser properties, content type, response topic / correlation data, message expiry
Access controlPer-topic ACL on Basic and Scale (ACL)

QoS levels ​

QoSGuaranteeUse for
0At most onceFrequent sensor values where a lost reading does not matter
1At least once (may duplicate)Most telemetry and events
2Exactly onceCommands 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).

Fully managed MQTT broker for connected devices.