Through what mechanism does the consumer side of RabbitMQ pull the message consumption of the message queue?

Through what mechanism does the consumer side of

RabbitMQ pull down the message consumption of the message queue?
is the consumer polling constantly or is there a notification mechanism in the message queue?

Apr.12,2022

RabbitMQ there are two modes of consuming messages: push mode and pull mode. The pull mode is very simple. The consumer actively pulls the message. What you should ask is how the message reaches the client in push mode, not through polling, but through notification mechanism. Data is pushed through socket .

clipboard.png

Menu