Data safety on the RabbitMQ side
In order to avoid losing messages on the RabbitMQ (as opposed to application) side, queues and messages must be able to cope with RabbitMQ node restarts, node and hardware failures.
With some messaging protocols supported by RabbitMQ, applications control durability of queues and messages. It’s therefore critically important that durable queues (or replicated queue types covered below) are used for important data, and messages are published as persistent by publishers.