天天看点

emq体验

基于高并发的Erlang/OTP语言平台设计,支持百万级连接和分布式集群,发布订阅模式的开源MQTT消息服务器

完整支持MQTT V3.1/V3.1.1协议规范,扩展支持WebSocket、Stomp、CoAP、MQTT-SN或私有TCP协议

emq体验

wget https://www.emqx.io/static/brokers/emqttd-centos7-v2.3.11.zip --no-check-certificat

192.168.1.167

192.168.1.168

cluster.name = emq

cluster.discovery = static

cluster.autoheal = on

cluster.autoclean = 5m

cluster.static.seeds = [email protected],[email protected]

node.name = [email protected]

[[email protected] bin]# ./emqttd start

emqttd 2.3.11 is started successfully!

[[email protected] bin]# ./emqttd_ctl status

Node '[email protected]' is started

emqttd 2.3.11 is running

[[email protected] bin]# ./emqttd start

Node is already running!

[[email protected] bin]# ./emqttd_ctl status

Node '[email protected]' is started

emqttd 2.3.11 is running

./emqttd_ctl cluster join [email protected]

./emqttd_ctl cluster join [email protected]

 http://192.168.1.168:18083

 http://192.168.1.167:18083

 默认用户: admin,密码:public

emq体验
emq