Limit request queue
I have some crawlers that are consuming from RabbitMQ, but they obviously take all the messages from Rabbit and move them to the internal queue. Can I somehow cap the requestQueue ? so it can only take a finite amount of requests ?
1 Reply
Hi, you can definitely cap how many messages your consumers pull from RabbitMQ so they don’t drain the broker into your internal queue immediately. RabbitMQ has a concept for this called prefetch