Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make multiple broker connection in paho mqtt? #477

Closed
vvksahoo opened this issue Mar 28, 2020 · 3 comments
Closed

How to make multiple broker connection in paho mqtt? #477

vvksahoo opened this issue Mar 28, 2020 · 3 comments

Comments

@vvksahoo
Copy link

I want to connect to multiple broker , so does paho_mqtt handle it ?

@mbenabda
Copy link

mbenabda commented Apr 17, 2020

do you know in advance which servers you'll be connected to or is it a HA scenario ?
if you do, you need 1 socket / broker connection. have you tried using multiple client instances ?

@andrequeiroz2
Copy link

você sabe com antecedência a quais servidores estará conectado ou é um cenário de HA?
se fizer isso, você precisará de 1 conexão de soquete / corretor. você já tentou usar várias instâncias do cliente?

I'm trying to do this. In my case, I want the user to register several bokers.

@MattBrittan
Copy link
Contributor

This is not something the library supports out of the box. Please see this issue for one suggestion (I have not tested this).

Given this issues age I'm going to close it (hopefully the above helps, if not and this is still a problem for you feel free to reopen).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants