网上其他博客出现该报错跟我遇到的情况不同。

我遇到的问题是使用DefaultMQProducer发送消息时,存在第一条消息报错,但是后面的消息都成功发送的情况。

RcoketMQ踏坑-RemotingTooMuchRequestException: sendDefaultImpl call timeout

追了一下源码,发现sendMsgTimeout 的默认值设置是3000RcoketMQ踏坑-RemotingTooMuchRequestException: sendDefaultImpl call timeout

设置producer的该值为6000

RcoketMQ踏坑-RemotingTooMuchRequestException: sendDefaultImpl call timeout

问题解决,消息均成功发送

相关文章:

  • 2021-05-28
  • 2021-08-24
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-01
  • 2021-12-29
  • 2021-10-03
猜你喜欢
  • 2022-12-23
  • 2021-07-11
  • 2021-11-27
  • 2021-11-10
  • 2021-08-28
  • 2022-01-28
  • 2022-12-23
相关资源
相似解决方案