create emqx project

tigercl fd2e9f147b fix(auth http): using ehttpc (#4021) 5 anni fa
.ci 981482d707 fix(test): fix test cases (#4012) 5 anni fa
.github a6de90c3f9 fix(test): add two way ssl test (#4025) 5 anni fa
apps fd2e9f147b fix(auth http): using ehttpc (#4021) 5 anni fa
bin cbc07d9937 fix(bin/emqx): Fix the boot file path for start_clean 5 anni fa
data 084ce97d41 fix(rel): rel_vsn renamed to release_version 5 anni fa
deploy 2e4ffa1f4c feat(helm_chart): TLS support for dashboard (#3935) 5 anni fa
etc 5794a708ed feat(emqx_ws_connection): Prevent EMQX from CSWSH Cross-Site Web-Socket Hijack 5 anni fa
include d437f9f228 chore(elvis): fix elvis warnings 5 anni fa
priv 5794a708ed feat(emqx_ws_connection): Prevent EMQX from CSWSH Cross-Site Web-Socket Hijack 5 anni fa
scripts 3ef08f9ce3 test(meck): add meck unload after meck load 5 anni fa
src 598207e308 fix(ws_connection): proplists:get_bool for boolean flags 5 anni fa
test bcb63bcc18 fix(test case): fix test case 5 anni fa
vars 151d820058 feature(project): change to rebar3 umbrella project 5 anni fa
.editorconfig 7f12db0180 add editorconfig for emqx 7 anni fa
.gitignore ca1e78677e chore(dashboard): delete static files 5 anni fa
.tool-versions 08d4678ac7 chore(build): Pin rebar3 version 3.14.3-emqx-2 5 anni fa
CONTRIBUTING.md fd986bbbb2 docs(contrib): add CONTRIBUTING.md 5 anni fa
LICENSE 94c3e69b44 Licensed under the Apache, Version 2.0 10 anni fa
Makefile ca1e78677e chore(dashboard): delete static files 5 anni fa
README-CN.md 61d73ea530 chore(dialyzer): optimize dialyzer run 5 anni fa
README-JP.md c4d16c40a9 docs(dialyzer): use natural expression 5 anni fa
README.md 61d73ea530 chore(dialyzer): optimize dialyzer run 5 anni fa
build 1236c1934c chore(build): refine packages builds 5 anni fa
docker.mk 1236c1934c chore(build): refine packages builds 5 anni fa
elvis.config d437f9f228 chore(elvis): fix elvis warnings 5 anni fa
ensure-rebar3.sh 1236c1934c chore(build): refine packages builds 5 anni fa
get-dashboard.sh 7e450ac4c6 chore(get dashboard): fix sed error on mac 5 anni fa
pkg-vsn.sh 1236c1934c chore(build): refine packages builds 5 anni fa
rebar.config 7df1dea4db perf(esockd): upgrade esockd to 5.8.0 (#4018) 5 anni fa
rebar.config.erl 61d73ea530 chore(dialyzer): optimize dialyzer run 5 anni fa

README-CN.md

EMQ X Broker

GitHub Release Build Status Coverage Status Docker Pulls Slack Invite Twitter

最棒的物联网 MQTT 开源团队期待您的加入

English | 简体中文 | 日本語

EMQ X 是一款完全开源,高度可伸缩,高可用的分布式 MQTT 消息服务器,适用于 IoT、M2M 和移动应用程序,可处理千万级别的并发客户端。

从 3.0 版本开始,EMQ X 完整支持 MQTT V5.0 协议规范,向下兼容 MQTT V3.1 和 V3.1.1,并支持 MQTT-SN、CoAP、LwM2M、WebSocket 和 STOMP 等通信协议。EMQ X 3.0 单集群可支持千万级别的 MQTT 并发连接。

安装

EMQ X 是跨平台的,支持 Linux、Unix、macOS 以及 Windows。这意味着 EMQ X 可以部署在 x86_64 架构的服务器上,也可以部署在 Raspberry Pi 这样的 ARM 设备上。

EMQ X Docker 镜像安装

docker run -d --name emqx -p 1883:1883 -p 8083:8083 -p 8883:8883 -p 8084:8084 -p 18083:18083 emqx/emqx

二进制软件包安装

需从 EMQ X 下载 页面获取相应操作系统的二进制软件包。

从源码构建

3.0 版本开始,构建 EMQ X 需要 Erlang/OTP R21+。

git clone https://github.com/emqx/emqx-rel.git

cd emqx-rel && make

cd _rel/emqx && ./bin/emqx console

快速入门

# Start emqx
./bin/emqx start

# Check Status
./bin/emqx_ctl status

# Stop emqx
./bin/emqx stop

EMQ X 启动,可以使用浏览器访问 http://localhost:18083 来查看 Dashboard。

静态分析(Dialyzer)

分析所有应用程序
make dialyzer
要分析特定的应用程序,(用逗号分隔的应用程序列表)
DIALYZER_ANALYSE_APP=emqx_lwm2m,emqx_auth_jwt,emqx_auth_ldap make dialyzer

FAQ

访问 EMQ X FAQ 以获取常见问题的帮助。

产品路线

通过 EMQ X Roadmap uses Github milestones 参与跟踪项目进度。

社区、讨论、贡献和支持

你可通过以下途径与 EMQ 社区及开发者联系:

欢迎你将任何 bug、问题和功能请求提交到 emqx/emqx

MQTT 规范

你可以通过以下链接了解与查阅 MQTT 协议:

MQTT Version 3.1.1

MQTT Version 5.0

MQTT SN

开源许可

Apache License 2.0, 详见 LICENSE