I publisher confirms sono un meccanismo attraverso cui RabbitMQ riconosce al produttore che ha ricevuto (e reso persistente) un messaggio — garantendo che i messaggi non vengono persi dal lato della pubblicazione. Sono la controparte produttore-side dei riconoscimenti consumer.
Il problema: il messaggio ha raggiunto il broker?
When a producer publishes a message, by default it doesn't KNOW if RabbitMQ received it:
→ network failure, broker issue → the message could be LOST without the producer knowing
→ for reliability, the producer needs CONFIRMATION that the message was accepted
→ publisher confirms address the PUBLISHING side of reliability
