Consumer acknowledgment
Also called: consumer ack, message acknowledgment
A consumer acknowledgment tells a messaging system that a particular delivery has reached the application’s chosen completion point. With manual acknowledgments, the consumer decides when to send that signal. If a connection fails before acknowledgment, the system may make the message available for redelivery.
For example, a worker can acknowledge a job after saving its result. A crash after saving but before acknowledging can still cause duplicate work, so the saved effect needs suitable protection. A broker confirming a publisher’s submission is a different event: it does not mean a consumer has finished processing.
- Read first
- Message broker
- Further reading
- RabbitMQ — Consumer Acknowledgements and Publisher Confirms