Have a way to get failure from publish method if mqtt broker not reachable #77
Replies: 1 comment
-
Hi Martin Thanks for opening this discussion.
Sounds like a good fit for QoS level 1 and above.
When From there on, it's the broker's responsibility to send the message to the clients. There is nothing asyncio-mqtt can guarantee about that. It's up to the broker. If asyncio-mqtt can't publish the message, then Does this fit your use case? ~Frederik |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a scenario where no message may get lost. It would be good if there was a way to call publish and have it fail if it cannot be delivered immediately.
Beta Was this translation helpful? Give feedback.
All reactions