项目 / emqx/emqx

emqx/emqx

行业推荐
语言 Erlang标签 mqttiotmqtt-brokererlangiot-middlewarebrokerm2mpubsubmessagingcoaplorawanmqtt-serveremqxmanufacturingmqtt-protocolindustry-40message-queueaiotiiotlwm2m数据更新 2026-11-25 06:49:28 · 仓库 2026-11-24

一段话介绍

The most scalable and reliable MQTT broker for AI, IoT, IIoT and connected vehicles

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
The most scalable and reliable MQTT broker for AI, IoT, IIoT and connected vehicles
16,936累计星
2,584Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

设备物联接入与边缘采集

适配系统:物联网平台、边缘计算网关 · 得分 1.4

实现工业协议解析与设备接入管理,可作为物联网平台的设备接入层与数据采集前置。

消息队列与异步解耦

适配系统:消息中间件、事件驱动平台 · 得分 1.1

提供高吞吐异步通道,可解耦上下游系统、削峰填谷并支撑事件驱动架构。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
可运行 docker run -d --name emqx。
特点或设计要点
项目说明文档见 https://docs.emqx.com/en/emqx/latest/mqtt-over-quic/introduction.html。
局限和适用边界
自 EMQX v5.9.0 起因许可证变更(BSL 1.1),部署多于一个节点的集群需加载 license 文件,单节点部署不受此限制。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-23 · 语言 Erlang · 贡献者 —
erlang

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 18,511 字节。

# EMQX

[![GitHub Release](https://img.shields.io/github/release/emqx/emqx?color=brightgreen&label=Release)](https://github.com/emqx/emqx/releases)
[![Build Status](https://github.com/emqx/emqx/actions/workflows/_push-entrypoint.yaml/badge.svg)](https://github.com/emqx/emqx/actions/workflows/_push-entrypoint.yaml)
[![Slack](https://img.shields.io/badge/Slack-EMQ-39AE85?logo=slack)](https://slack-invite.emqx.io/)
[![Discord](https://img.shields.io/discord/931086341838622751?label=Discord&logo=discord)](https://discord.gg/xYGf3fQnES)
[![X](https://img.shields.io/badge/Follow-EMQ-1DA1F2?logo=x)](https://x.com/EMQTech)
[![YouTube](https://img.shields.io/badge/Subscribe-EMQ-FF0000?logo=youtube)](https://www.youtube.com/channel/UC5FjR77ErAxvZENEWzQaO5Q)


EMQX is the world's most scalable and reliable MQTT platform, designed for high-performance, reliable, and secure IoT data infrastructure. It supports MQTT 5.0, 3.1.1, and 3.1, as well as other protocols like MQTT-SN, CoAP, LwM2M, and MQTT over QUIC. EMQX enables you to connect millions of IoT devices, process and route messages in real time, and integrate with a wide range of backend data systems. It's ideal for applications in AI, IoT, Industrial IoT (IIoT), connected vehicles, smart cities, and beyond.

**Starting from v5.9.0, EMQX has unified all features from the previous Open Source and Enterprise editions into a single, powerful offering with the Business Source License (BSL) 1.1.**

If you want to understand why we made the change, please read this [blog post](https://www.emqx.com/en/news/emqx-adopts-business-source-license).

Please go to the [License](#License) section for more details about BSL 1.1.

## Key Features

EMQX delivers a powerful set of capabilities for modern connected systems:

### Comprehensive Protocol Support

- Full MQTT v5.0, v3.1.1, and v3.1 support.
- [MQTT over QUIC](https://docs.emqx.com/en/emqx/latest/mqtt-over-quic/introduction.html): Leverage the benefits of QUIC for faster connection establishment, reduced head-of-line blocking, and seamless connection migration.
- Support for other IoT protocols like [LwM2M](https://docs.emqx.com/en/emqx/latest/gateway/lwm2m.html), [CoAP](https://docs.emqx.com/en/emqx/latest/gateway/coap.html), [MQTT-SN](https://docs.emqx.com/en/emqx/latest/gateway/mqttsn.html), and more through [gateways](https://docs.emqx.com/en/emqx/latest/gateway/gateway.html).

### Massive Scalability & High Availability

- [Connect](https://www.emqx.com/en/solutions/iot-device-connectivity) 100M+ of concurrent MQTT clients with a single cluster.
- [Process](https://www.emqx.com/en/solutions/reliable-mqtt-messaging) millions of messages per second with sub-millisecond latency.
- [Masterless clustering](https://docs.emqx.com/en/emqx/latest/deploy/cluster/introduction.html) for high availability and fault tolerance.
- Seamless global communication with [EMQX Cluster Linking](https://www.emqx.com/en/solutions/cluster-linking).

### Powerful Rule Engine & Data Integration

- SQL-based [Rule Engine](https://www.emqx.com/en/solutions/mqtt-data-processing) to process, transform, enrich, and filter in-flight data.
- Seamless data bridging and [integration](https://www.emqx.com/en/solutions/mqtt-data-integration) with 50+ cloud services and enterprise systems, including:
  - **Message Queues**: [Kafka](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-kafka.html), [RabbitMQ](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-rabbitmq.html), [Pulsar](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-pulsar.html), [RocketMQ](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-rocketmq.html), etc.
  - **Databases**: [PostgreSQL](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-pgsql.html), [MySQL](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-mysql.html), [MongoDB](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-mongodb.html), [Redis](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-redis.html), [ClickHouse](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-clickhouse.html), [InfluxDB](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-influxdb.html), etc.
  - **Cloud Services**: [AWS Kinesis](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-kinesis.html), [GCP Pub/Sub](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-gcp-pubsub.html), [Azure Event](https://docs.emqx.com/en/emqx/latest/data-integration/data-bridge-azure-event-hub.html), [Confluent Cloud](https://docs.emqx.com/en/emqx/latest/data-integration/confluent-sink.html),  and more.
- [Webhook](https://docs.emqx.com/en/emqx/latest/data-integration/webhook.html) support for easy integration with custom services.

### [Message Queue](https://docs.emqx.com/en/emqx/latest/message-queue/message-queue-concept.html)

- Reliable message queuing for asynchronous and decoupled communication.
- Extends MQTT with durable message storage, configurable queue lifecycle, TTL, and size limits, ensuring messages are preserved until consumption.
- Supports load-balanced consumption and optional last-value semantics, allowing queues to retain only the most recent message for each topic when needed.

### [Flow Designer](https://docs.emqx.com/en/emqx/latest/flow-designer/introduction.html)

- Drag‑and‑drop canvas to orchestrate real‑time data pipelines with zero code, using nodes for rules, integrations, and AI tasks.

### [Smart Data Hub](https://docs.emqx.com/en/cloud/latest/data_hub/smart_data_hub.html)

- [Schema Registry](https://docs.emqx.com/en/cloud/latest/data_hub/schema_registry.html): Define, store, and manage data schemas to ensure consistency.
- [Schema Validation](https://docs.emqx.com/en/cloud/latest/data_hub/schema_validation.html): Validate incoming data against registered schemas to maintain data integrity.
- [Message Transformation](https://docs.emqx.com/en/cloud/latest/data_hub/message_transformation.html): Convert data between different formats and structures to facilitate seamless integration.

### [AI Processing & Integration](https://www.emqx.com/en/solutions/artificial-intelligence):

- Native AI processing capabilities for IoT data streams.
- Integration with popular AI services.
- Support for AI-driven decision making at the edge or in the cloud.

### Robust [Security](https://www.emqx.com/en/solutions/mqtt-security)

- [Secure connections](https://docs.emqx.com/en/emqx/latest/network/overview.html) with TLS/SSL and WSS.
- Flexible [authentication](https://docs.emqx.com/en/emqx/latest/access-control/authn/authn.html) mechanisms: username/password, JWT, PSK, X.509 certificates, etc.
- Granular access control with [ACLs](https://docs.emqx.com/en/emqx/latest/access-control/authz/authz.html).
- Integration with external authentication databases ([LDAP](https://docs.emqx.com/en/emqx/latest/access-control/authn/ldap.html), [SQL](https://docs.emqx.com/en/emqx/latest/access-control/authn/postgresql.html), [Redis](https://docs.emqx.com/en/emqx/latest/access-control/authn/redis.html)).

### Advanced Observability & Management:

- Comprehensive monitoring with [Prometheus](https://docs.emqx.com/en/emqx/latest/observability/prometheus.html), [Grafana](https://grafana.com/grafana/dashboards/17446-emqx/), [Datadog](https://docs.emqx.com/en/emqx/latest/observability/datadog.html), and [OpenTelemetry](https://docs.emqx.com/en/emqx/latest/observability/opentelemetry/opentelemetry.html).
- Detailed logging and [tracing](https://docs.emqx.com/en/emqx/latest/observability/tracer.html) capabilities.
- User-friendly [Dashboard](https://docs.emqx.com/en/emqx/latest/dashboard/introduction.html) for cluster overview and management.
- Rich [HTTP API](https://docs.emqx.com/en/emqx/latest/admin/api.html) for automation and third-party integration.

### Extensibility

- [Plugin](https://docs.emqx.com/en/emqx/latest/extensions/plugins.html) architecture for extending functionality.
- [Hooks](https://docs.emqx.com/en/emqx/latest/extensions/hooks.html) for customizing behavior at various points in the message lifecycle.

### Unified Experience:

- With the BSL 1.1 license (from v5.9.0), all features, including those previously exclusive to the enterprise edition, are available to all developers.

## Quick Start

### Try EMQX Cloud

The simplest way to set up EMQX is to create a managed deployment with EMQX Cloud. You can [try EMQX Cloud for free](https://accounts.emqx.com/signup?utm_source=github.com&utm_medium=referral&utm_campaign=emqx-readme-to-cloud&continue=https://cloud-intl.emqx.com/console/deployments/new).

For comprehensive guidance, see the [EMQX Cloud Documentation](https://docs.emqx.com/en/cloud/latest/quick_start/introduction.html).

### Run a single node using Docker

```
docker run -d --name emqx \
  -p 1883:1883 -p 8083:8083 -p 8084:8084 \
  -p 8883:8883 -p 18083:18083 \
  emqx/emqx-enterprise:latest
```

Next, please follow the [Install EMQX Using Docker](https://docs.emqx.com/en/emqx/latest/deploy/install-docker.html) guide for further instructions.

### Run EMQX cluster on Kubernetes

Please refer to the official [EMQX Operator](https://docs.emqx.com/en/emqx-operator/latest/getting-started/getting-started.html) documentation for details.

### Download EMQX

If you prefer to install and manage EMQX yourself, you can download the latest version from [the official site](https://www.emqx.com/en/downloads-and-install/enterprise).

For more installation options, see the [EMQX installation documentation](https://docs.emqx.com/en/emqx/latest/deploy/install.html)

## Documentation

- EMQX self-hosted: [docs.emqx.com/en/emqx/latest](https://docs.emqx.com/en/emqx/latest/).
- EMQX Cloud: [docs.emqx.com/en/cloud/latest](https://docs.emqx.com/en/cloud/latest/).

## Contributing

Please see our [contributing guide](./CONTRIBUTING.md).

For more organised improvement proposals, you can send pull requests to [EIP](https://github.com/emqx/eip).

## Community

- Follow us on: [X](https://x.com/EMQTech), [YouTube](https://www.youtube.com/channel/UC5FjR77ErAxvZENEWzQaO5Q).
- Ask Questions: [GitHub Discussions](https://github.com/emqx/emqx/discussions) or [EMQX Community Slack]((https://slack-invite.emqx.io/)).
- Report Bugs: [GitHub Issues](https://github.com/emqx/emqx/issues).
- Discord: [EMQX Discord Server](https://discord.gg/x55DZXE).

## Resources

- EMQX Website: [emqx.com](https://www.emqx.com/)
- EMQX Blog: [emqx.com/en/blog](https://www.emqx.com/en/blog)
- MQTT Client Programming: [Tutorials](https://www.emqx.com/en/blog/category/mqtt-programming)
- MQTT SDKs: [Popular SDKs](https://www.emqx.com/en/mqtt-client-sdk)
- MQTT Tool: [MQTTX](https://mqttx.app/)

## Build From Source

The default branch `master` tracks the latest development.
Stable releases are tracked by `release-XY` branches, such as `release-62` for version `6.2.N`.

- EMQX 5.4 and newer can be built with OTP 25 or 26
- EMQX 5.9+ can be built with OTP 27
- EMQX 6.1+ can be built with OTP 28

Build and run a release locally:

```bash
git clone https://github.com/emqx/emqx.git
cd emqx
make
_build/emqx-enterprise/rel/emqx/bin/emqx console
```

Build packages in `_packages` dir:

- Build a portable (for host OS/arch) tar.gz package: `make emqx-enterprise-tgz`
- Build an RPM/DEB (depending on host OS) package: `make emqx-enterprise-pkg`
- Build a Docker image: `PROFILE=emqx-enterprise make docker`

### Erlang/OTP

EMQX builds against the EMQX fork of Erlang/OTP at
[emqx/otp](https://github.com/emqx/otp), not against upstream Erlang/OTP.
A build with an upstream release is not supported.

`.tool-versions` in the repository root gives the exact version, for example
`erlang 28.5.0.7-9`. The trailing number is the fork revision. It does not exist upstream,
so an upstream installation cannot match it.

### Build in the EMQX builder image

The simplest way to get a correct toolchain is the `emqx-builder` Docker image. It contains the
forked OTP, Elixir, Rust and the other build tools at the versions that CI uses.

`show-latest-images.sh` in the root of [emqx-builder](https://github.com/emqx/emqx-builder)
prints the image tag for each supported operating system:

```bash
ghcr.io/emqx/emqx-builder/<builder-tag>:<elixir>-<otp>-<os>
```

Run the build inside the image for your operating system and architecture:

```bash
docker run --rm -it -v "$PWD:/emqx" -w /emqx \
  ghcr.io/emqx/emqx-builder/<builder-tag>:<elixir>-<otp>-<os> \
  make
```

## Version Schemes

EMQX versions follow the `Major.Minor.Patch` scheme (e.g. `6.1.2`).

### GA Releases

General Availability releases, listed on the official download catalog page.

- **Major** (`5`, `6`): incremented for significant architectural changes that may
  require special upgrade procedures or introduce backward-incompatible changes.
- **Minor** (`6.0`, `6.1`, `6.2`): new features and improvements. Each minor line
  has a dedicated `release-XY` branch (e.g. `release-62` for the `6.2.N` series).
- **Patch** (`6.1.0`, `6.1.1`, `6.1.2`): cut from the matching `release-XY`
  branch, containing bug fixes and low-risk improvements.

Rolling upgrade between adjacent minor versions is supported — see the
[upgrade path matrix](#rolling-upgrade-paths-since-50) below.

### Non-GA Releases

Non-GA builds are published as tarballs, packages, and Docker images available for
download, but are **not** listed on the official download catalog page.

- **`-alpha.N`** (e.g. `6.2.0-alpha.1`): early preview of a new minor line. Only
  cut for the first release of a minor (e.g. `6.1.0`, `6.2.0`).
- **`-beta.N`** (e.g. `6.2.0-beta.1`): feature-complete preview of a new minor
  line. Only cut for the first release of a minor.
- **`-rc.N`** (e.g. `6.1.2-rc.1`): release candidate. May be cut before any
  release version — either a new minor (`X.Y.0-rc.N`) or a patch (`X.Y.Z-rc.N`).
- **`-patch.N`** (e.g. `6.1.2-patch.1`): on-demand bug fix build produced for
  paying customers between regular patch releases.

## Rolling Upgrade Paths Since 5.0

Below are the matrices of supported rolling upgrade paths since 5.0.
Tables are split for readability; the late-v5 versions (5.8 – 5.10) appear in both.

- Version numbers end with `?` e.g. `7.0?` are future releases.
- ✅: Supported, or planed to support.
- ⚠️:  Supported, but with limitations.
- ❌: Not supported.
- 🔄: Tentative full support for future versions.

See release notes for detailed information.

### Within v5 (5.0 – 5.10)

| From\To | 5.1  | 5.2  | 5.3  | 5.4  | 5.5  | 5.6  | 5.7  | 5.8  | 5.9   | 5.10  |
|---------|------|------|------|------|------|------|------|------|-------|-------|
| 5.0     | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ⚠️[1]  | ❌[2] |
| 5.1     | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ✅    | ❌[2] |
| 5.2     |      | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ✅    | ❌[2] |
| 5.3     |      |      | ✅   | ✅   | ✅   | ✅   | ✅   | ✅   | ✅    | ❌[2] |
| 5.4     |      |      |      | ✅   | ✅   | ⚠️    | ✅   | ✅   | ✅    | ✅    |
| 5.5     |      |      |      |      | ✅   | ⚠️    | ✅   | ✅   | ✅    | ✅    |
| 5.6     |      |      |      |      |      | ✅   | ✅   | ✅   | ✅    | ✅    |
| 5.7     |      |      |      |      |      |      | ✅   | ✅   | ✅    | ✅    |
| 5.8     |      |      |      |      |      |      |      | ✅   | ⚠️[3]  | ⚠️[3]  |
| 5.9     |      |      |      |      |      |      |      |      | ✅    | ✅    |
| 5.10    |      |      |      |      |      |      |      |      |       | ✅    |

- [1] Old limiter configs should be deleted from the config files (`etc/emqx.conf` and `data/configs/cluster-override.conf`) before upgrade.
- [2] Pre-5.4 routing table will be deleted. Upgrade to 5.9 first, then perform a full-cluster restart (not rolling) before upgrade to 5.10 or later.
- [3] Opentelemetry headers configuration support was introduced in 5.8.7. This release date is later than 5.9.0 and 5.10.0.
      5.8 versions running 5.8.7 or later require a rolling upgrade to version 5.9.1 or 5.10.1.
      Alternatively, remove the header configuration for OpenTelemetry integration during the upgrade.
- [4] Durable session states will be lost after upgraded from v5 to v6. After clients reconnect, the sessions created in the new nodes will appear to be clean.

### Into v6 and v7 (5.8 – 7.0?)

There is no 6.4 release. The 6.x line ends at 6.3, and 7.0 follows it.

| From\To | 5.8  | 5.9   | 5.10  | 6.0   | 6.1   | 6.2  | 6.3   | 7.0?  |
|---------|------|-------|-------|-------|-------|------|-------|-------|
| 5.8     | ✅   | ⚠️[3]  | ⚠️[3]  | ⚠️[4]  | ⚠️[4]  | ⚠️[4] | ⚠️[4]  | 🔄    |
| 5.9     |      | ✅    | ✅    | ⚠️[4]  | ⚠️[4]  | ⚠️[4] | ⚠️[4]  | 🔄    |
| 5.10    |      |       | ✅    | ⚠️[4]  | ⚠️[4]  | ⚠️[4] | ⚠️[4]  | 🔄    |
| 6.0     |      |       |       | ✅    | ✅    | ✅   | ✅    | 🔄    |
| 6.1     |      |       |       |       | ✅    | ✅   | ✅    | 🔄    |
| 6.2     |      |       |       |       |       | ✅   | ✅    | 🔄    |
| 6.3     |      |       |       |       |       |      | ✅    | 🔄    |
| 7.0?    |      |       |       |       |       |      |       | ✅    |

- [4] Durable session states will be lost after upgraded from v5 to v6 or later. After clients reconnect, the sessions created in the new nodes will appear to be clean.

## License

### Important License Update

Effective from version **5.9.0**, EMQX has transitioned from Apache 2.0 to the Business Source License (BSL) 1.1.

### License Requirement for Clustering (v5.9.0+)

Starting with EMQX v5.9.0, due to the license change and the unification of all features, deploying an EMQX cluster (more than 1 node) requires a license file to be loaded.

Please refer to the following resources for details on license acquisition, application, and the specifics of the BSL 1.1.

- **News**: [EMQX Adopts Business Source License](https://www.emqx.com/en/news/emqx-adopts-business-source-license)
- **Blog**: [Adopting Business Source License to Accelerate MQTT and AI Innovation](https://www.emqx.com/en/blog/adopting-business-source-license-to-accelerate-mqtt-and-ai-innovation)
- **FAQ**: [EMQX License FAQ](https://www.emqx.com/en/content/license-faq)
↑