请教一下 rabbitmq 应答超时异常问题

318 天前
 vanpeisi7

队列有消费者在监听,并且预取了消息(在 rabbitmq 管理页面能看到,有 1 条消息等待 ack ),但是消息没有进入我写的消费者代码中,等超过默认时间( 30 )分钟,就报下面异常

Channel shutdown: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more, class-id=0, method-id=0)	
701 次点击
所在节点    程序员
4 条回复
vanpeisi7
318 天前
我使用的 Spring Cloud Stream 和 RabbitMq 的镜像队列
Simonxxl
317 天前
超时了
guochenglong
317 天前
消费超时了,30 分钟消息没有进行 ack
WashFreshFresh
317 天前
listener 没有监听到消息?配错了吧,是不是别的消费者给监听到了但是没 ack

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/989891

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX