olinlibrary / bear-as-a-service

Bear-as-a-Service (BaaS) for the Olin Library
MIT License
1 stars 2 forks source link

MQTT readers aren't removing the messages #1

Open osteele opened 6 years ago

osteele commented 6 years ago

Messages never leave the Ready state. When you shut down a client and start it up again, it gets the last message again.

These are qos=0 messages. The MQTT protocol is for the client to acknowledge the message. Then the RabbitMQ server should remove it from the queue.

The admin notebook in https://github.com/olin-build/twilio-mqtt-gateway contains code to manually purge the queues.