EMQ X broker is a fully open-source, highly scalable, highly available distributed MQTT messaging broker for IoT, M2M and Mobile applications that can handle tens of millions of concurrent clients.
Starting from the 3.0 release, EMQ X broker fully supports MQTT V5.0 protocol specifications and backward compatible with MQTT V3.1 and V3.1.1, as well as other communication protocols such as MQTT-SN, CoAP, LwM2M, WebSocket and STOMP. The 3.0 release of the EMQ X broker can be scaled to 10+ million concurrent MQTT connections on one cluster.
- For a full list of new features, please read EMQ X Release Notes (https://github.com/emqx/emqx/releases).
- For more information, please visit the EMQ X Homepage (https://www.emqx.io/).
sudo snap install emqx
sudo emqx start
sudo emqx.ctl status
sudo emqx stop
To view the dashboard after running, use your browser to open: http://localhost:18083
By default, the configuration file for EMQ X is stored in the
ubuntu@test:~$ ls -l /snap/emqx/current/emqx/snap_data total 0 drwxr-xr-x 5 root root 103 Sep 15 17:35 data drwxr-xr-x 5 root root 144 Sep 15 17:35 etc
If the default configuration file does not meet your actual needs, you can copy the default configuration file to the user configuration directory and modify it. The file in the user configuration directory will overwrite the default configuration file.
Go to the default configuration directory
Copy the default configuration file to the user configuration directory and modify it
sudo cp -r -n ./* /var/snap/emqx/common/
Visiting EMQ X FAQ (https://docs.emqx.io/broker/latest/en/faq/faq.html) to get the help of common problems.