• 请不要在回答技术问题时复制粘贴 AI 生成的内容
vanpeisi7
V2EX  ›  程序员

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

  •  
  •   vanpeisi7 · Nov 8, 2023 · 2032 views
    This topic created in 1099 days ago, the information mentioned may be changed or developed.

    队列有消费者在监听,并且预取了消息(在 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 replies  •  2023-11-09 10:51:26 +08:00
    vanpeisi7
    vanpeisi7
    OP
    Nov 8, 2023
    1
    我使用的 Spring Cloud Stream 和 RabbitMq 的镜像队列
    Simonxxl
    Simonxxl
    Nov 9, 2023 via Android
    2
    超时了
    guochenglong
    guochenglong
    Nov 9, 2023
    3
    消费超时了,30 分钟消息没有进行 ack
    WashFreshFresh
    WashFreshFresh
    Nov 9, 2023
    4
    listener 没有监听到消息?配错了吧,是不是别的消费者给监听到了但是没 ack
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4308 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 08:23 · PVG 16:23 · LAX 00:23 · JFK 03:23
    ♥ Do have faith in what you're doing.