简体   繁体   中英

RabbitMQ Durable queue on disk node

I was reading through the documentation of RabbitMQ on their website and came across two terminologies which seem to be doing the same thing - " Durable Queues " and " Disk Node ". As per the documentation if I make a Disk Node, all data except messages, message store indices, queue indices and other node state (not sure what are the other node states). So, if I make my node a Disk Node , do I still need to mark my queue as durable to survive broker restarts ?

Same question goes for durable exchanges as well.

Disk nodes and durable queues are two different concepts within RabbitMQ.

RabbitMQ maintains certain internal information (such as users, passwords, vhosts, ...) within specific mnesia tables. Disk nodes store these tables on disk. As the related documentation states:

This does not include messages, message store indices, queue indices and other node state.

To ensure durability/persistence of exchanges, queues or messages you need to explicitly state it when you declare/publish them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM