The Erlang MQTT message server is referred to as EMQTT.
EMQTT is an open source MQTT message server developed using the Erlang language, fully supporting the MQTT V3.1.1 protocol, and supporting clusters and large-scale connections.
EMQTT is committed to releasing an MQTT message server based on the Erlang/OTP language platform, which is enterprise-level stable and reliable, completely open source and free, and can be clustered to support large-scale Internet of Things and mobile Internet connections.
Complete MQTT V3.1/V3.1.1 protocol support
Full support for MQTT V3.1/V3.1.1 protocol specifications
QoS0/1/2 message publishing and subscription support
Session management and offline messaging support
Last Will message support
Retained message support
TCP/SSL connection support
MQTT over WebSocket connection support
HTTP Publish message publishing interface
‘$SYS/#’ system topic support
Authentication support based on ClientId and IP address
Authentication support based on username and password
ACL access control based on ClientId, username, and IP address
Multi-server cluster (Cluster) support
Multi-node bridge support
Single node 500,000 client connection support
Plug-in architecture support
Passed server interoperability testing for the Eclipse Paho project
Completely open source, multi-node cluster support
Open Source, MIT Open Source Software License
Multi-server cluster, large-scale client connection support
Easy to install, download and unzip to start running
Plug-in architecture, customize or extend server functions
Quick download and installation
emqttd can run cross-platform on Linux, FreeBSD, Windows and Mac OS X.
Unzip the tgz format package and start it in the installation directory. For example:
tar xvf emqttd-ubuntu64-0.7.1-alpha-20150504.tgz && cd emqttd
Start in console mode for debugging. The console can print all MQTT messages sent and received
./bin/emqttd console
Started in daemon mode, port 1883 is used for MQTT connections by default, and port 8083 is used for HTTP connections.
./bin/emqttd start
View running status
./bin/emqttd_ctl status
stop
./bin/emqttd stop
HTTP message publishing interface test
emqtt supports publishing messages from applications to MQTT clients through the HTTP interface.