Acknowledgments (acks) RabbitMQ க்கு ஒரு செய்தி வெற்றிகரமாக செயல்படுத்தப்பட்டது என்று கூறுகிறது, இதனால் அது queue இலிருந்து நீக்கப்படலாம். அவை நம்பகமான delivery க்கு அத்தியாவசியமாக உள்ளன — ஒரு consumer தோல்வியுற்றால் செய்திகள் இழக்கப்படாமல் உறுதிப்படுத்துகிறது.
Acknowledgments எவ்வாறு செயல்படுகிறது
When a consumer receives and processes a message, it ACKNOWLEDGES it:
→ ACK → "I've processed this message" → RabbitMQ removes it from the queue
→ if a consumer DIES before acking (crash, disconnect) → RabbitMQ REQUEUES the message
→ redelivered to another consumer (NOT lost)
→ acks ensure messages are processed reliably (not lost if a consumer fails)
