Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] paho-python client PR the java implementation's manualAck

sigh... the new PR is: https://github.com/eclipse/paho.mqtt.python/pull/753


On Tue, Oct 3, 2023 at 11:47 AM Peter Silva <peter@xxxxxxxxxxxxxxx> wrote:

Hi folks,


The current python library acknowledges receipt of messages (in QoS=1 or 2) before calling the on_message(..) callback, and so leaves a vulnerability where messages may be acknowledged before they are properly received by the application.

The Java implementation behaves the same way by default, but has a manualAck mode boolean flag available to allow the application to take over responsibility should it choose to do so.   There was a lot of discussion around the original PR, so created
this second one to be easier to accept ;-) it literally just brings the functionality existing in the Java implementation as-is to the python one.

I think a lot of people want this feature, it would be great to have it reviewed. 

Thanks.



Back to the top