olinlibrary / bear-as-a-service

Bear-as-a-Service (BaaS) for the Olin Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT readers aren't removing the messages

osteele opened this issue · comments

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.