RabbitMQ error timeout

前端 未结 2 1091
清酒与你
清酒与你 2021-02-01 19:40

I\'ve set up RabbitMQ in order to parse some 20.000 requests from an external API but it keeps timing out after a few minutes. It does get to correctly parse about 2000 out of t

2条回答
  •  花落未央
    2021-02-01 20:19

    Add more to @tul's answer.

    subChannel.basicQos(10); 
    

    Reducing consumer prefetch count does eliminate this timeout exception.
    The default prefetch count is unlimited.

提交回复
热议问题