From afa0d98b8d44b195eb49d33e83b7b52bb73f8ed3 Mon Sep 17 00:00:00 2001 From: Gilbert Wong Date: Tue, 26 Feb 2019 10:21:28 +0800 Subject: [PATCH] Disable bridge defaultly --- etc/emqx.conf | 52 +++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/etc/emqx.conf b/etc/emqx.conf index ebe1bdd1c..8dc510a31 100644 --- a/etc/emqx.conf +++ b/etc/emqx.conf @@ -1601,7 +1601,7 @@ listener.wss.external.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-G ## ## 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. ## @@ -1609,12 +1609,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. ## @@ -1623,107 +1623,107 @@ bridge.aws.client_id = bridge_aws ## ## NOTE: Some IoT platforms require clean_start ## must be set to 'true' -bridge.aws.clean_start = true +## bridge.aws.clean_start = true ## 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}/ ## Forward message topics ## ## Value: String ## Example: topic1/#,topic2/# -bridge.aws.forwards = topic1/#,topic2/# +## bridge.aws.forwards = topic1/#,topic2/# ## Bribge to remote server via SSL. ## ## Value: on | off -bridge.aws.ssl = off +## bridge.aws.ssl = off ## PEM-encoded CA certificates of the bridge. ## ## Value: File -bridge.aws.cacertfile = {{ platform_etc_dir }}/certs/cacert.pem +## bridge.aws.cacertfile = {{ platform_etc_dir }}/certs/cacert.pem ## Client SSL Certfile of the bridge. ## ## Value: File -bridge.aws.certfile = {{ platform_etc_dir }}/certs/client-cert.pem +## bridge.aws.certfile = {{ platform_etc_dir }}/certs/client-cert.pem ## Client SSL Keyfile of the bridge. ## ## Value: File -bridge.aws.keyfile = {{ platform_etc_dir }}/certs/client-key.pem +## bridge.aws.keyfile = {{ platform_etc_dir }}/certs/client-key.pem ## SSL Ciphers used by the bridge. ## ## Value: String -bridge.aws.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384 +## bridge.aws.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384 ## Ping interval of a down bridge. ## ## Value: Duration ## Default: 10 seconds -bridge.aws.keepalive = 60s +## bridge.aws.keepalive = 60s ## TLS versions used by the bridge. ## ## Value: String -bridge.aws.tls_versions = tlsv1.2,tlsv1.1,tlsv1 +## bridge.aws.tls_versions = tlsv1.2,tlsv1.1,tlsv1 ## 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 ## Start type of the bridge. ## ## 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 ## Maximum number of messages in one batch when sending to remote borkers ## NOTE: when bridging via MQTT connection to remote broker, this config is only @@ -1732,19 +1732,19 @@ bridge.aws.max_inflight = 32 ## ## Value: Integer ## default: 32 -bridge.aws.queue.batch_size = 32 +## bridge.aws.queue.batch_size = 32 ## Base directory for replayq to store messages on disk ## If this config entry is missing or set to undefined, ## replayq works in a mem-only manner. ## ## 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 ##-------------------------------------------------------------------- ## Bridges to azure