With RabbitMQ, scaling out your Rebus-based workers is easy too – in fact, I’ve created a small RabbitMQ scaleout demo that shows how a producer can produce small nuggets of work, and any number of consumers can be started in order to distribute work evenly.
The principle is the same as when you’re using Azure Service Bus: Just start a number of competing consumers and you’re good to go.
An example on running the producer with two consumers can be seen below – here, I have published 100 jobs for the consumers to share.
If you’re interested in running the demo yourself, you can check out the code from GitHub and follow the instructions in the accompanying readme.