The queue message disappeared after rabbitmq restart

The queue message disappears after

rabbitmq restarts
1. When the producer sends the message, the consumer does not enable it, so the message will not be lost, but if you close rabbitmq, you will lose
. What should you do at this time

?
Aug.07,2021

you can turn on the persistence policy of rabbitmq

Menu