Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

rabbitmq使用时出现consumer丢失问题

$
0
0

最近在学习使用rabbitmq,用一个现有的封装库rabbus搭好服务后, 发现Send/Receiver的Receiver端在正常处理一段时间message后, 会经常断开(在rabbitmq管理页面查到), 有的时候channel ends:

Potentially unhandled rejection [2] Error: Channel closed by server: 406 (PRECONDITION-FAILED) with message “PRECONDITION_FAILED - unknown delivery tag 8”

有的时候就是consumer失去连接, 也没能找到有用的日志反馈是啥原因, 服务日志显示一般都是处理到随机某个事件后(不论是返回ack/nack). 请问有碰到这方面问题的大哥提点下小弟吗? 不胜感激!


Viewing all articles
Browse latest Browse all 14821

Trending Articles