简体   繁体   中英

Every other message missing with Rabbit MQ

We have a RabbitMQ server running under Docker. We both publish and receive messages from code in both Ruby and Python, all of which is almost exactly straight from the online tutorial examples. After a short number of messages, the Python version starts to only receives every other message. The Ruby script continues to receive all of them.

While not exactly RabbitMQ experts, we've checked the code and it's so close the official tutorials that it's hard to see that we're making any big mistakes. Plus it works initially anyway.

Is there anything that could be causing this odd behaviour?

The answer, as hinted at by Pascal, was that it needed to be set to 'Fan-Out'. Thanks for the tip.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM