V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
vanpeisi7
V2EX  ›  程序员

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

  •  
  •   vanpeisi7 · 177 天前 · 563 次点击
    这是一个创建于 177 天前的主题,其中的信息可能已经有所发展或是发生改变。

    队列有消费者在监听,并且预取了消息(在 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)	
    
    4 条回复    2023-11-09 10:51:26 +08:00
    vanpeisi7
        1
    vanpeisi7  
    OP
       177 天前
    我使用的 Spring Cloud Stream 和 RabbitMq 的镜像队列
    Simonxxl
        2
    Simonxxl  
       177 天前 via Android
    超时了
    guochenglong
        3
    guochenglong  
       176 天前
    消费超时了,30 分钟消息没有进行 ack
    WashFreshFresh
        4
    WashFreshFresh  
       176 天前
    listener 没有监听到消息?配错了吧,是不是别的消费者给监听到了但是没 ack
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   842 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 22:38 · PVG 06:38 · LAX 15:38 · JFK 18:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.