Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only send puback/pubrec of received messages after processing them #5

Open
martinscheffler opened this issue Sep 27, 2021 · 1 comment

Comments

@martinscheffler
Copy link

When I receive QOS 1 or 2 messages I want to store them to a database and only send confirmation of receipt to the mqtt broker after that has completed. Is that somehow possible with aio-mqtt? For me it looks like messages are confirmed as received as soon as (or even before) they are put into the consumer queues.

@martinscheffler
Copy link
Author

BTW here is a relevant discussion for paho mqtt client: eclipse-paho/paho.mqtt.python#348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant