ruby-mqtt icon indicating copy to clipboard operation
ruby-mqtt copied to clipboard

Add support for QOS 1

Open njh opened this issue 12 years ago • 12 comments

  • May require some API changes.
  • Support for local persistence of message queue.

njh avatar Feb 04 '12 14:02 njh

Hi @njh

congrats for the project!!

What is the current status of supporting QOS1 and QOS2 ? I would love to use your gem, but i definitely need these qos.. maybe I can help to develop it..

Best regards

phlcastro avatar Sep 14 '13 22:09 phlcastro

any news on that ? @phlcastro did u find any solution ? @njh can we have a roadmap ? I can help to develop it too.

mishaker avatar May 20 '14 16:05 mishaker

@misaghshakeri nothing that Im aware...

phlcastro avatar May 20 '14 16:05 phlcastro

Hi, I have a plan to develop for MQTT ruby with QoS2. I need storage for saving received message for QoS2, so I will use redis.

Is there another storage / KVS dbs?

yuuna avatar Sep 21 '14 08:09 yuuna

Yes, support for persistence is a pre-requisite for QoS 1/2 in my opinion.

Please use a common Ruby API that would allow support for:

  • in memory
  • flat file on disk
  • Redis
  • memcache
  • database (MySQL?)

I am sure something must already exist.

njh avatar Sep 22 '14 09:09 njh

@njh ok, I make with in memory cache as default, after that I will make for another storage like "ruby-mqtt-memcache".

yuuna avatar Sep 25 '14 05:09 yuuna

I have created issue #52 for persistence.

njh avatar Sep 25 '14 21:09 njh

@yuuna , have you any success with QoS 1 and QoS 2?

kumekay avatar Oct 17 '14 08:10 kumekay

Is there any news or workaround to do QoS 1 please? =)

Vincent14 avatar Feb 26 '19 16:02 Vincent14

There is some support for QoS 1:

  • cdb6280b366f75f24caa61f55d89380581a3e5ff: Send PUBACK when receiving a publish with qos > 0
  • 1acc44549f0b6c1139f3e36a56e5d59e16a6ae68: Ack after handling qos > 0 packets
  • 6b33690030ccac02f9b37bc12b9f423be7b60897: Added puback handling for qos level 1 and 2

I haven't closed this issue because I haven't verified that support is complete.

njh avatar Feb 27 '19 21:02 njh

Any update on this, i.e. is QoS 1 officially supported?

M4THYOU avatar Mar 06 '21 14:03 M4THYOU

Any update on this?

rgaufman avatar May 27 '22 11:05 rgaufman