Potvrde (acks) govore RabbitMQ-u da je poruka uspješno obrađena, tako da se može ukloniti iz reda čekanja. One su bitne za pouzdanu isporuku — osiguravajući da poruke nisu izgubljene ako potrošač ne uspije.
Kako funkcioniraju potvrde
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)
