<div dir="ltr">Hi,<div><br></div><div>I want to understand how publisher confirms [1] work internally and asynchronously. The async publisher example [2] _deliveries is a list of message number which were published and when they are confirmed, these numbers are removed from _deliveries.</div>
<div><br></div><div>What happens when a durable message is published with publisher confirms and the producer is stopped, i.e. we don&#39;t know if a confirm was received. In such a case if the message reaches the broker but the broker fails to send confirms back, is the message dropped? When I stop the consumer I wait to receive any leftover confirms and I see that even after say 60s the _deliveries is not empty. How may I make sure messages which were sent confirm asynchronously and if I should wait for sometime before closing the channel how may I determine the wait time period?</div>
<div><br></div><div style>How does confirms work internally at the broker level, as in the latest RabbitMQ server.</div><div><br></div><div><div>[1]�<a href="http://www.rabbitmq.com/confirms.html">http://www.rabbitmq.com/confirms.html</a></div>
<div>[2]�<a href="https://pika.readthedocs.org/en/latest/examples/asynchronous_publisher_example.html">https://pika.readthedocs.org/en/latest/examples/asynchronous_publisher_example.html</a></div></div><div><br></div><div style>
Regards.</div></div>