Managed MQTT Brokers for Device APIs
Choose a managed MQTT broker where device reconnect behavior meets your application assumptions. A web dashboard and WebSocket support are secondary to what happens when a whole cohort wakes up after a network outage.
Options and acceptance tests
| Option | Documented scope | Prove before buying |
|---|---|---|
| HiveMQ Cloud | Managed MQTT service with plan-specific configuration | Test offline recovery and inspect whether your plan exposes the relevant disconnect diagnostics. |
| EMQX Cloud | Managed MQTT deployments with service-tier documentation | Repeat the reconnect exercise using the auth and routing configuration you intend to operate. |
| AWS IoT Core | MQTT protocol support with AWS-specific behavior and limits | Read the differences from the protocol specification and demonstrate the exact session semantics required. |
Run this buying test
Disconnect a sample of devices, publish one retained and one ordinary message, then reconnect clients at the intended QoS. Inspect redelivery, session expiry and the differences between clean and persistent sessions.
Price concurrent connections, message volume, retained payloads, egress and regional redundancy separately. Ask for metric granularity when a client is disconnected by a service quota.
Run a reconnect exercise before comparing prices
Try identical client firmware, connection credentials, session settings and payload sizes against each broker. Let a few clients reconnect immediately and stagger the rest. Watch the increase in connection attempts separately from the rate of accepted publishes. A successful connection is insufficient if the app loses a queued state update or processes it twice.
Use a representative message with a stable application identifier so that you can count duplicates. Measure a retained delivery separately from queued session traffic. Demand the logs or metrics that will let an on-call engineer distinguish expiry, quota exhaustion, a credential problem and a network outage. Document how to rotate the credentials of one group without scheduling a full fleet reconnect.
Compare HiveMQ Cloud and EMQX Cloud when you want a dedicated managed MQTT service. Evaluate AWS IoT Core when the surrounding AWS device identity or rules integrations are part of the purchase. On each shortlist entry, write down the operator responsible for upgrades and the support path when a protocol behavior differs from your device's expectations. Put the maximum acceptable reconnect time and the tolerable loss or duplication by message type into the decision record.
Research basis
This is a desk-researched guide based on the linked primary sources, reviewed on 20 November 2026. The acceptance tests are exercises to run with your own equipment or sample data.