目前是用的emqx版本是 emqx-5.7.2-el7-amd64.tar.gz,也还是3个节点,emqx的配置文件如下:
node {
name = “emqx@172.29.247.179”
cookie = “emqxsecretcookie”
data_dir = “data”
}
listeners.tcp.default {
bind = “0.0.0.0:1884”
max_connections = 1024000
proxy_protocol = true
}
gateway.coap {
mountpoint = “coap/”
connection_required = false
listeners.udp.default {
bind = “5683”
max_connections = 1024000
max_conn_rate = 10000
}
}
zone {
external {
max_mqueue_len = 0
}
internal {
max_mqueue_len = 0
}
}
cluster {
discovery_strategy = static
static {
seeds = [“emqx@172.29.247.161”, “emqx@172.29.247.172”, “emqx@172.29.247.179”]
}
}
log {
}
dashboard {
listeners.http {
bind = 18083
}
}