chore(gw): reformat config options
This commit is contained in:
parent
b8cb31c0ff
commit
9190f1f6f9
|
@ -2,10 +2,10 @@
|
|||
## EMQ X Gateway configurations
|
||||
##--------------------------------------------------------------------
|
||||
|
||||
gateway: {
|
||||
|
||||
stomp: {
|
||||
## TODO: These configuration options are temporary example here.
|
||||
## In the final version, it will be commented out.
|
||||
|
||||
gateway.stomp {
|
||||
frame: {
|
||||
max_headers: 10
|
||||
max_headers_length: 1024
|
||||
|
@ -36,12 +36,13 @@ gateway: {
|
|||
max_conn_rate: 1000
|
||||
active_n: 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
coap: {
|
||||
gateway.coap: {
|
||||
|
||||
enable_stats: false
|
||||
|
||||
#authentication.enable: false
|
||||
authentication: {
|
||||
enable: true
|
||||
authenticators: [
|
||||
|
@ -54,8 +55,6 @@ gateway: {
|
|||
]
|
||||
}
|
||||
|
||||
#authentication.enable: false
|
||||
|
||||
heartbeat: 30s
|
||||
notify_type: qos
|
||||
subscribe_qos: qos0
|
||||
|
@ -63,9 +62,9 @@ gateway: {
|
|||
listener.udp.1: {
|
||||
bind: 5683
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mqttsn: {
|
||||
gateway.mqttsn: {
|
||||
## The MQTT-SN Gateway ID in ADVERTISE message.
|
||||
gateway_id: 1
|
||||
|
||||
|
@ -106,10 +105,9 @@ gateway: {
|
|||
max_connections: 10240000
|
||||
max_conn_rate: 1000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
## Extension Protocol Gateway
|
||||
exproto: {
|
||||
gateway.exproto: {
|
||||
## The gRPC server to accept requests
|
||||
server: {
|
||||
bind: 9100
|
||||
|
@ -137,19 +135,15 @@ gateway: {
|
|||
#listener.ssl.1: {}
|
||||
#listener.udp.1: {}
|
||||
#listener.dtls.1: {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
lwm2m: {
|
||||
gateway.lwm2m: {
|
||||
|
||||
xml_dir: "{{ platform_etc_dir }}/lwm2m_xml"
|
||||
|
||||
lifetime_min: 1s
|
||||
|
||||
lifetime_max: 86400s
|
||||
|
||||
qmode_time_windonw: 22
|
||||
|
||||
auto_observe: false
|
||||
|
||||
mountpoint: "lwm2m/%e/"
|
||||
|
@ -168,5 +162,4 @@ gateway: {
|
|||
listener.udp.1 {
|
||||
bind: 5783
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue