Skip to content

Instantly share code, notes, and snippets.

@justx1
Created October 2, 2013 08:19
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justx1/6790584 to your computer and use it in GitHub Desktop.
Save justx1/6790584 to your computer and use it in GitHub Desktop.
Addition to mosquitto.conf for bridging MQTT brokers http://e.verything.co/post/62163759361/bridging-two-mqtt-brokers
connection cloudmqtt
try_private false
address broker.cloudmqtt.com:<port>
start_type automatic
username <your_username_here>
password <your_password_here>
clientid <any_clientid_here>
notifications true
@dnepangue
Copy link

Thanks! What if there are more than 2 brokers?

@ranvijayj
Copy link

Can I put these servers now under a load balancer?
If I have mosquitto installed on 2 EC2 machines and bridged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment