Home > other >  The rabbitmq mass consumption how to implement the news, the rabbitmq support batch processing
The rabbitmq mass consumption how to implement the news, the rabbitmq support batch processing

Time:12-30

To 50 per read message, enter the algorithm module

CodePudding user response:

Can combine many consumers and prefetching to control it

CodePudding user response:

Divided into multiple queue, each queue with multiple consumers, specific configuration according to the performance of your server,

CodePudding user response:

Has a batch to send configuration, configure how many message sent to consumers at a time

CodePudding user response:

Container. SetConcurrentConsumers (50);

CodePudding user response:


prefetch ="120" batch take 120
concurrency ="2" concurrent 2

CodePudding user response:

reference 5 floor young man - tao response:
prefetch ="120" batch take 120
concurrency ="2" concurrent 2



Hello, excuse me, multiple parameters in basicAck method is refers to the batch submit prefetch a message?
  • Related