|
|
@@ -286,32 +286,32 @@ rpc.tcp_client_port = 5369
|
|
|
## RCP Client connect timeout.
|
|
|
##
|
|
|
## Value: Seconds
|
|
|
-rpc.connect_timeout = 5000
|
|
|
+rpc.connect_timeout = 5s
|
|
|
|
|
|
## TCP send timeout of RPC client and server.
|
|
|
##
|
|
|
## Value: Seconds
|
|
|
-rpc.send_timeout = 5000
|
|
|
+rpc.send_timeout = 5s
|
|
|
|
|
|
## Authentication timeout
|
|
|
##
|
|
|
## Value: Seconds
|
|
|
-rpc.authentication_timeout = 5000
|
|
|
+rpc.authentication_timeout = 5s
|
|
|
|
|
|
## Default receive timeout for call() functions
|
|
|
##
|
|
|
## Value: Seconds
|
|
|
-rpc.call_receive_timeout = 15000
|
|
|
+rpc.call_receive_timeout = 15s
|
|
|
|
|
|
## Socket idle keepalive.
|
|
|
##
|
|
|
## Value: Seconds
|
|
|
-rpc.socket_keepalive_idle = 900
|
|
|
+rpc.socket_keepalive_idle = 900s
|
|
|
|
|
|
## TCP Keepalive probes interval.
|
|
|
##
|
|
|
-## Value: Integer
|
|
|
-rpc.socket_keepalive_interval = 75
|
|
|
+## Value: Seconds
|
|
|
+rpc.socket_keepalive_interval = 75s
|
|
|
|
|
|
## Probes lost to close the connection
|
|
|
##
|
|
|
@@ -947,7 +947,7 @@ listener.tcp.internal.send_timeout = 5s
|
|
|
## See: listener.tcp.$name.send_timeout_close
|
|
|
##
|
|
|
## Value: on | off
|
|
|
-listener.tcp.external.send_timeout_close = on
|
|
|
+listener.tcp.internal.send_timeout_close = on
|
|
|
|
|
|
## The TCP receive buffer(os kernel) for internal MQTT connections.
|
|
|
##
|
|
|
@@ -1596,29 +1596,29 @@ listener.wss.external.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-G
|
|
|
## Value: enum
|
|
|
## manual
|
|
|
## auto
|
|
|
-bridge.aws.start_type = manual
|
|
|
+## bridge.aws.start_type = manual
|
|
|
|
|
|
## Bridge reconnect time.
|
|
|
##
|
|
|
## Value: Duration
|
|
|
## Default: 30 seconds
|
|
|
-bridge.aws.reconnect_interval = 30s
|
|
|
+## bridge.aws.reconnect_interval = 30s
|
|
|
|
|
|
## Retry interval for bridge QoS1 message delivering.
|
|
|
##
|
|
|
## Value: Duration
|
|
|
-bridge.aws.retry_interval = 20s
|
|
|
+## bridge.aws.retry_interval = 20s
|
|
|
|
|
|
## Inflight size.
|
|
|
##
|
|
|
## Value: Integer
|
|
|
-bridge.aws.max_inflight = 32
|
|
|
+## bridge.aws.max_inflight = 32
|
|
|
|
|
|
## Bridge address: node name for local bridge, host:port for remote.
|
|
|
##
|
|
|
## Value: String
|
|
|
## Example: emqx@127.0.0.1, 127.0.0.1:1883
|
|
|
-bridge.aws.address = 127.0.0.1:1883
|
|
|
+## bridge.aws.address = 127.0.0.1:1883
|
|
|
|
|
|
## Protocol version of the bridge.
|
|
|
##
|
|
|
@@ -1626,12 +1626,12 @@ bridge.aws.address = 127.0.0.1:1883
|
|
|
## - mqttv5
|
|
|
## - mqttv4
|
|
|
## - mqttv3
|
|
|
-bridge.aws.proto_ver = mqttv4
|
|
|
+## bridge.aws.proto_ver = mqttv4
|
|
|
|
|
|
## The ClientId of a remote bridge.
|
|
|
##
|
|
|
## Value: String
|
|
|
-bridge.aws.client_id = bridge_aws
|
|
|
+## bridge.aws.client_id = bridge_aws
|
|
|
|
|
|
## The Clean start flag of a remote bridge.
|
|
|
##
|
|
|
@@ -1645,62 +1645,62 @@ bridge.aws.client_id = bridge_aws
|
|
|
## The username for a remote bridge.
|
|
|
##
|
|
|
## Value: String
|
|
|
-bridge.aws.username = user
|
|
|
+## bridge.aws.username = user
|
|
|
|
|
|
## The password for a remote bridge.
|
|
|
##
|
|
|
## Value: String
|
|
|
-bridge.aws.password = passwd
|
|
|
+## bridge.aws.password = passwd
|
|
|
|
|
|
## Mountpoint of the bridge.
|
|
|
##
|
|
|
## Value: String
|
|
|
-bridge.aws.mountpoint = bridge/aws/${node}/
|
|
|
+## bridge.aws.mountpoint = bridge/aws/${node}/
|
|
|
|
|
|
## Ping interval of a down bridge.
|
|
|
##
|
|
|
## Value: Duration
|
|
|
## Default: 10 seconds
|
|
|
-bridge.aws.keepalive = 60s
|
|
|
+## bridge.aws.keepalive = 60s
|
|
|
|
|
|
## Forward message topics
|
|
|
##
|
|
|
## Value: String
|
|
|
## Example: topic1/#,topic2/#
|
|
|
-bridge.aws.forwards = topic1/#,topic2/#
|
|
|
+## bridge.aws.forwards = topic1/#,topic2/#
|
|
|
|
|
|
## Subscriptions of the bridge topic.
|
|
|
##
|
|
|
## Value: String
|
|
|
-bridge.aws.subscription.1.topic = cmd/topic1
|
|
|
+## bridge.aws.subscription.1.topic = cmd/topic1
|
|
|
|
|
|
## Subscriptions of the bridge qos.
|
|
|
##
|
|
|
## Value: Number
|
|
|
-bridge.aws.subscription.1.qos = 1
|
|
|
+## bridge.aws.subscription.1.qos = 1
|
|
|
|
|
|
## Subscriptions of the bridge topic.
|
|
|
##
|
|
|
## Value: String
|
|
|
-bridge.aws.subscription.2.topic = cmd/topic2
|
|
|
+## bridge.aws.subscription.2.topic = cmd/topic2
|
|
|
|
|
|
## Subscriptions of the bridge qos.
|
|
|
##
|
|
|
## Value: Number
|
|
|
-bridge.aws.subscription.2.qos = 1
|
|
|
+## bridge.aws.subscription.2.qos = 1
|
|
|
|
|
|
## If enabled, queue would be written into disk more quickly.
|
|
|
## However, If disabled, some message would be dropped in
|
|
|
## the situation emqx crashed.
|
|
|
##
|
|
|
## Value: on | off
|
|
|
-bridge.aws.queue.mem_cache = on
|
|
|
+## bridge.aws.queue.mem_cache = on
|
|
|
|
|
|
## Batch size for buffer queue stored
|
|
|
##
|
|
|
## Value: Integer
|
|
|
## default: 1000
|
|
|
-bridge.aws.queue.batch_size = 1000
|
|
|
+## bridge.aws.queue.batch_size = 1000
|
|
|
|
|
|
## Base directory for replayq to store messages on disk
|
|
|
## If this config entry is missing or set to undefined,
|
|
|
@@ -1709,18 +1709,18 @@ bridge.aws.queue.batch_size = 1000
|
|
|
## this config entry would have no effect on mqueue
|
|
|
##
|
|
|
## Value: String
|
|
|
-bridge.aws.queue.replayq_dir = {{ platform_data_dir }}/emqx_aws_bridge/
|
|
|
+## bridge.aws.queue.replayq_dir = {{ platform_data_dir }}/emqx_aws_bridge/
|
|
|
|
|
|
## Replayq segment size
|
|
|
##
|
|
|
## Value: Bytesize
|
|
|
|
|
|
-bridge.aws.queue.replayq_seg_bytes = 10MB
|
|
|
+## bridge.aws.queue.replayq_seg_bytes = 10MB
|
|
|
|
|
|
## Bribge to remote server via SSL.
|
|
|
##
|
|
|
## Value: on | off
|
|
|
-bridge.aws.ssl = off
|
|
|
+## bridge.aws.ssl = off
|
|
|
|
|
|
## PEM-encoded CA certificates of the bridge.
|
|
|
##
|