What is the simple working mode of rabbitmq?

Alibaba cloud Q & A 2022-02-13 07:58:42 阅读数:957

simple working mode rabbitmq

RabbitMQ Of simple What is the working mode ?

Take the answer 1:

simple Pattern ( That is, the simplest transceiver mode )

1. A message produces a message , Put messages in the queue

2. Consumers of messages (consumer) monitor Message queue , If there are messages in the queue , Just consume , After the news was taken away , Automatically delete... From the queue ( hidden danger The message may not be handled correctly by the consumer , Has disappeared from the queue , Cause the loss of information , This can be set to manual ack, But if it's set to manual ack, Send it in time after handling ack Message to queue , Otherwise, it will cause memory overflow ).

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