You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The MQTTClient from MQTTNet is well-supported and mature but does not give us access to the event loop. Instead, it offers a callback. The problem here is that this does not play well with our model. Simply, their loop and our loop mirror each other, but through their client, our interface, Receive, Acknowledge, etc., cannot drive the client.
The existing solution is to fill a local queue, which we empty via the receive loop.
Describe the solution you'd like
To work around this, we need to build our client based on their LowLevelClient (or even a fork of their MQTTCllent), which gives us back control of the message pump.
Describe alternatives you've considered
We could switch to another MQTT library. Apart from PetaBridge, most seem unmaintained. Petabridge works the same way, creating the same problem for us.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The MQTTClient from MQTTNet is well-supported and mature but does not give us access to the event loop. Instead, it offers a callback. The problem here is that this does not play well with our model. Simply, their loop and our loop mirror each other, but through their client, our interface, Receive, Acknowledge, etc., cannot drive the client.
The existing solution is to fill a local queue, which we empty via the receive loop.
Describe the solution you'd like
To work around this, we need to build our client based on their LowLevelClient (or even a fork of their MQTTCllent), which gives us back control of the message pump.
Describe alternatives you've considered
We could switch to another MQTT library. Apart from PetaBridge, most seem unmaintained. Petabridge works the same way, creating the same problem for us.
The text was updated successfully, but these errors were encountered: