spring – RabbitMQ consumers are not adding up
RabbitMQ consumers are not adding up
I get the exact same issue, I’ve a RabittMQ listener defined with the following annotation and using Spring AMQP.
@RabbitListener(queues = "#{documentCreationQueue.name}", concurrency = "10-20")
It creates correctly the 10 consumers, but then it never increase to more that 10 even if I sent 20 requests and the 10 first one are in progress.
Did you find a solution to your problem couple of years ago ?
@GaryRussell any suggestions ?
I try to define a SimpleRabbitListenerContainerFactory with the annotation containerFactory and try multiple settings (prefectchCount, consecutiveActiveTrigger, taskExecutor with a thread pool….) without any success.
Read more here: Source link