RabbitMQ (VI), how to ensure the order of the message

Scene: 1,2,3 sequence data sent to a queue, a queue with more consumer spending

solution:

Split into a plurality of queue, each queue consumed by a Consumer;

But corresponds to a queue or to a consumer, then the consumer do queuing with internal memory queue, then distributed to the different underlying process worker

 

Guess you like

Origin www.cnblogs.com/dwxblogs/p/10951393.html