update 修改配置和脚本
parent
f5a7b75f0a
commit
5d5063a291
@ -0,0 +1,51 @@
|
||||
authentication = [
|
||||
{
|
||||
backend = http
|
||||
body {
|
||||
password = "${password}"
|
||||
username = "${username}"
|
||||
}
|
||||
connect_timeout = 15s
|
||||
enable_pipelining = 100
|
||||
headers {content-type = "application/json"}
|
||||
mechanism = password_based
|
||||
method = post
|
||||
pool_size = 8
|
||||
request_timeout = 5s
|
||||
ssl {enable = false, verify = verify_peer}
|
||||
url = "http://server1:8080/emqx-login"
|
||||
}
|
||||
]
|
||||
mqtt {
|
||||
await_rel_timeout = 300s
|
||||
exclusive_subscription = false
|
||||
idle_timeout = 15s
|
||||
ignore_loop_deliver = false
|
||||
keepalive_multiplier = 1.5
|
||||
max_awaiting_rel = 100
|
||||
max_clientid_len = 65535
|
||||
max_inflight = 32
|
||||
max_mqueue_len = 1000
|
||||
max_packet_size = 256MB
|
||||
max_qos_allowed = 2
|
||||
max_subscriptions = infinity
|
||||
max_topic_alias = 65535
|
||||
max_topic_levels = 128
|
||||
message_expiry_interval = infinity
|
||||
mqueue_default_priority = lowest
|
||||
mqueue_priorities = disabled
|
||||
mqueue_store_qos0 = true
|
||||
peer_cert_as_clientid = disabled
|
||||
peer_cert_as_username = disabled
|
||||
response_information = ""
|
||||
retain_available = true
|
||||
retry_interval = 30s
|
||||
server_keepalive = disabled
|
||||
session_expiry_interval = 2h
|
||||
shared_subscription = true
|
||||
shared_subscription_strategy = round_robin
|
||||
strict_mode = false
|
||||
upgrade_qos = false
|
||||
use_username_as_clientid = false
|
||||
wildcard_subscription = true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
# emqx日志目录
|
||||
Loading…
Reference in New Issue