Is it possible to use multiple ManagetMqttClients in 1 application? #1725
Replies: 2 comments 1 reply
-
|
Having multiple clients in one application is supported. We also have integration tests for that Do you have a code snipped you can share which reproduces the error? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to ask if it is possible to use multiple ManagedMqttClients in a single application (each connecting to a different broker).
I am asking because in my application if I do that, the clients start generating lots of "MqttConnectingFailedException" and "MqttCommunicationTimedOutException" errors. If I start just one of the clients, it works ok. Since those 2 clients run in different hosted services and are created as independently as possible, I am very confused why is that happening.
I will be very grateful for any advice.
(I am using version 4.2.0.706, but the same thing was happening in version 3.x)
Beta Was this translation helpful? Give feedback.
All reactions