如何在%DLQ%中处理邮件

时间:2018-06-05 01:07:08

标签: dead-letter rocketmq

我尝试在%DLQ%中使用该消息,但失败了。它

08:33:30.588 [RebalanceService] ERROR RocketmqClient - AllocateMessageQueueStrategy.allocate Exception. allocateMessageQueueStrategyName=AVG
java.lang.IllegalArgumentException: mqAll is null or mqAll empty
    at org.apache.rocketmq.client.consumer.rebalance.AllocateMessageQueueAveragely.allocate(AllocateMessageQueueAveragely.java:39)
    at org.apache.rocketmq.client.impl.consumer.RebalanceImpl.rebalanceByTopic(RebalanceImpl.java:283)
    at org.apache.rocketmq.client.impl.consumer.RebalanceImpl.doRebalance(RebalanceImpl.java:224)
    at org.apache.rocketmq.client.impl.consumer.DefaultMQPushConsumerImpl.doRebalance(DefaultMQPushConsumerImpl.java:946)
    at org.apache.rocketmq.client.impl.factory.MQClientInstance.doRebalance(MQClientInstance.java:952)
    at org.apache.rocketmq.client.impl.consumer.RebalanceService.run(RebalanceService.java:44)
    at java.lang.Thread.run(Thread.java:748)

似乎消费者没有获取消息的队列。

但我确定该主题存在并且还有一个队列。

出了什么问题?谢谢

0 个答案:

没有答案