Skip to content
Theory · RabbitMQ consumers · lesson 5 of 8

Publisher confirms

A producer sent an order to RabbitMQ, and the publish returned nil. That only means the message left for the network: whether it reached the broker and whether the broker stored it, the producer does not know. Only the broker's answer can tell it, and RabbitMQ has confirm mode on a channel for that.

In this lesson

  • Publish sequence number
  • The multiple flag
  • What it looks like in RabbitMQ
  • The broker refuses
  • How to wait for confirms
  • What a confirm promises
  • Common mistake
  • Key points