Home > Enterprise >  Set up in the rabbitmq prefetch: 1 why, in news consumption is not finished
Set up in the rabbitmq prefetch: 1 why, in news consumption is not finished

Time:09-18

Springboot integrate the rabbitmq in direct mode, I set the prefetch: 1, and set the manual mode


Two consumer side code:



My producer code




Console print: I test several times consumption is not the message, every time the remaining four data is not message

CodePudding user response:

His crown,
  • Related