Skip to content

EMQX

Clustered MQTT broker for IoT device messaging, with a SQL rule engine

Permissive (OSI) · Apache-2.0
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

87

Health

Thriving

Overview

Stars

16,942

Last commit

today

Nov 2026

Repository age

13 years

since Dec 2012

Latest version

6.3.3

Nov 2026

Contributors

–

6 active in 90 days

Releases

24

last 12 months

Language

Erlang

EMQX is an MQTT broker and messaging platform written in Erlang. It supports MQTT 5.0, 3.1.1 and 3.1, and handles MQTT-SN, CoAP, LwM2M and MQTT over QUIC through gateways. You can run it yourself or use the hosted plan, which starts at 30 USD per month.

It uses masterless clustering for availability. A SQL-based rule engine lets you filter, transform and route messages as they pass through. Data bridges connect to more than 50 systems, including Kafka, RabbitMQ, PostgreSQL, MySQL, MongoDB, Redis, ClickHouse and InfluxDB. It also connects to AWS Kinesis, GCP Pub/Sub and Azure Event. A drag-and-drop Flow Designer builds data pipelines, and a schema registry validates incoming data.

Security options include TLS, WSS, JWT, PSK, X.509 certificates, ACLs and LDAP, SQL or Redis authentication.

Note the license. Since v5.9.0, EMQX has merged its open source and enterprise editions under the Business Source License 1.1, so it is source-available rather than Apache-licensed. It fits teams that need a broker to replace a managed IoT messaging service.

Who it's for

IoT platform teams running device fleets

Clustering and MQTT 5.0 support suit large numbers of connected devices.

Skip if: You have a handful of devices and a lightweight broker is enough.

Data engineers routing telemetry

The SQL rule engine and bridges move device data into Kafka or databases.

Skip if: You need a purely OSI-approved license for every component.

Teams avoiding managed cloud IoT brokers

You can self-host it on Linux or macOS, or use the hosted plan.

Skip if: You want a fully managed service with no operations work.

The problem it solves

Connecting many devices means a broker that stays up, speaks several protocols and passes data to your backend. EMQX does this in one self-hostable platform, so you do not have to rely on a managed cloud broker.

Strengths

  • Supports MQTT 5.0, 3.1.1, 3.1, plus CoAP, LwM2M and MQTT-SN via gateways
  • Masterless clustering for high availability
  • SQL rule engine with bridges to 50+ systems
  • Authentication through JWT, PSK, X.509, LDAP, SQL and Redis
  • Frequent releases, 24 in the last year

Trade-offs

  • Business Source License 1.1 since v5.9.0 limits some uses
  • Clustered setups take operations effort
  • Many features, so the learning curve is steep for small projects
  • Hosted plan costs money, starting at 30 USD per month

Self-host EMQX

Self-hostable
Yes
Hosted plan
From $30/month · pricing

Frequently asked questions

Is EMQX open source?

The source is public, but since v5.9.0 it uses the Business Source License 1.1. Earlier editions were split into open source and enterprise versions.

Can I self-host it?

Yes. It runs on Linux and macOS, and a Homebrew formula is available.

Is there a hosted version?

Yes. A hosted plan is available from 30 USD per month.

Which protocols does it support?

MQTT 5.0, 3.1.1 and 3.1, plus MQTT-SN, CoAP, LwM2M and MQTT over QUIC.

Similar tools in Integration and messaging platforms

AnyCable

Integration and messaging platforms

Go WebSocket and SSE server for adding reliable realtime to Rails, Laravel and other

2.4k 131 10 days ago Active MIT

Centrifugo

Integration and messaging platforms

Self-hosted real-time messaging server for adding WebSocket pub/sub to any backend

11k 758 yesterday Thriving Apache-2.0

Soketi

Integration and messaging platforms

Self-hosted WebSockets server that speaks the Pusher protocol, for developers cutting

5.6k 362 3 years ago Dormant AGPL-3.0

CMAK

Integration and messaging platforms

Web UI for inspecting and administering Apache Kafka clusters, now dormant

12k 2.5k 4 years ago Dormant Apache-2.0

AutoMQ

Integration and messaging platforms

Kafka-compatible streaming on S3 storage for teams cutting cloud storage and traffic costs

11k 809 today Thriving Apache-2.0

Revert

Integration and messaging platforms

Self-hosted unified API for CRM, chat and ticketing integrations in B2B products

1k 122 2 years ago Dormant AGPL-3.0

Replaces Merge.dev