How to ensure the ordering of rabbitmq messages?

Alibaba cloud Q & A 2022-02-13 08:06:30 阅读数:771

ensure ordering rabbitmq messages

How to ensure RabbitMQ The order of the message ?




Take the answer 1:

Split multiple queue, Every queue One consumer, Just a little more queue nothing more , It's a bit of a hassle ; Or just one queue But for one consumer, And then this consumer Internal use memory queue for queuing , And then distribute it to the different ones at the bottom worker To deal with it .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130806298828.html