njh / ruby-mqtt

Pure Ruby gem that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
http://www.rubydoc.info/gems/mqtt
MIT License
538 stars 135 forks source link

Add support for QoS 2 #121

Open njh opened 4 years ago

njh commented 4 years ago

Support for local persistence for a message queue is a requirement before QoS 2 can be implemented.

njh commented 4 years ago

@eLocker-UK it would be useful to know why you require QoS 2 and what you use case is. One of the things I have struggled with a bit is working out an API for providing feedback when a publish fails.

magynhard commented 1 year ago

We use ruby-mqtt for test automation and we have a use case with QoS 2 to test. Unfortunately we can not, as it is not yet supported by ruby-mqtt.

When trying to use QoS anyway, i get this error: Connection error on publish: execution expired

Hope support for QoS2 is coming soon.

ara-mark commented 3 months ago

Hi! Is there any chance for qos 2 support in the future? thanks!