kamilfb / mqtt-spy

Please use the new Eclipse Paho GitHub repo instead.
https://github.com/eclipse/paho.mqtt-spy/wiki
346 stars 68 forks source link

mqtt-spy looses messages on a subscription ? #110

Closed maartenl945 closed 7 years ago

maartenl945 commented 7 years ago

Hi,

I'm testing our implementation of sending messages to a mosquitto broker using the paho client library. In that testing I'm using mqqt-spy to check whether all sent messages actually arrive at the broker.

What I seem to have noticed is that mqqt-spy (0.5.4) misses messages on the subscription, where the mosquitto_sub client does not miss any messages on the same subscription.

For testing I'm sending 1000 messages in very quick succession. QoS=1

1000 messages actually arrive at the mosquitto_sub client. Less than 1000 messages arrive at the mqtt-spy client (subscription also set to QoS=1). This varies per run of the test. I've also seen all messages arrive, but also 50 or more messages missing.

Any idea ? Has this been noticed before ?

Regards, Maarten

maartenl945 commented 7 years ago

Copied to https://github.com/eclipse/paho.mqtt-spy/issues/18 As that now seems to be the maintained project.

kamilfb commented 7 years ago

@maartenl945 correct - I will close this one off.