me-ventures / microservice-toolkit

MIT License
3 stars 1 forks source link

configurable pre-fetch count for rabbitMQ #10

Closed EvaLok closed 7 years ago

MaikelH commented 7 years ago

The prefetch count is currently set to 1 in the rabbitmq event-bus module.

The prefetch count is currently only used when using a named queue. The best thing is to add optional parameters to the consumeShared command. This also will make sure that everything is still backwards compatible.