[rabbitmq-discuss] Posting MQTT to RabbitMQ QOS=1

Emile Joubert emile at rabbitmq.com
Mon Nov 25 13:17:10 GMT 2013


On 22/11/13 16:13, Emile Joubert wrote:

> On 22/11/13 02:19, Adrian Yip wrote:

>> When I publish with QOS=1 however, the client appears successful in
>> publishing, but the receiver always stops at 20 messages.  I can kick
>> off another client without stopping the receiver and it will also do the
>> same thing, the receiver will show 20 messages and nothing more.
> 
> The default mosquitto max_inflight_messages is 20. Set this to a higher
> number or unlimited, and do the same for the broker prefetch configuration.

It looks like the problem might be in the MQTT python client library.
The broker immediately acknowledges the publish messages, so I don't see
why the client library stops sending messages after the first 20. My
earlier suggestion works, but it should not be necessary.



-Emile








More information about the rabbitmq-discuss mailing list