'RabbitMQ - Variable message subscriber amount
I am new to RabbitMQ and I am not sure which exchange type / setup suites the best for my needs.
I have multiple publishers on multiple VMs which query endpoints in endless loops. When the returned value from a query is equal or higher than 1, a message is published to the exchange. The value has no upper limit.
On the the other side of the exchange I have 1000 subscribers. What I want to achieve is, that based on the numeric value more or less subscribers should get notified and process the message.
For example if the value from the publisher is between 1 and 50 - 100 subscribers should get the message, 51 and 100 - 300 subscribers, more than 300 - all 1000 subscribers.
Which RabbitMQ setup would suite best for my usecase?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
