Skip to content

obastow/priority-rabbitmq-consumers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

priority-rabbitmq-consumers

POC to show how we can use a consumer pool to consume multiple RabbitMQ queues with DWRR.

The PriorityQueues.Consume project shows how we can set up consumers, and PriorityQueues.Produce is a utility to produce messages.

The basic premise is to set up a PrioritySlot for each priority queue, and set the Quantum to determine weighting. If one priority slot has a Quantum of 2 and another has a Quantum of 1, the first slot will consume 2 messages from its queue for every 1 message the second slot consumes (provided there's enough messages in both queues).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages