Fix too much warn log because non-exist retry topic (#681)

Co-authored-by: zhangxu16 <zhangxu16@xiaomi.com>
This commit is contained in:
张旭
2021-02-24 09:12:25 +08:00
committed by GitHub
parent 0d15d6b6e4
commit 7a28116bbe

View File

@@ -95,7 +95,7 @@ public class ConsumerServiceImpl extends AbstractCommonService implements Consum
consumeStats = mqAdminExt.examineConsumeStats(consumerGroup); consumeStats = mqAdminExt.examineConsumeStats(consumerGroup);
} }
catch (Exception e) { catch (Exception e) {
logger.warn("examineConsumeStats exception, " + consumerGroup, e); logger.warn("examineConsumeStats exception to consumerGroup {}, response [{}]", consumerGroup, e.getMessage());
} }
ConsumerConnection consumerConnection = null; ConsumerConnection consumerConnection = null;
@@ -103,7 +103,7 @@ public class ConsumerServiceImpl extends AbstractCommonService implements Consum
consumerConnection = mqAdminExt.examineConsumerConnectionInfo(consumerGroup); consumerConnection = mqAdminExt.examineConsumerConnectionInfo(consumerGroup);
} }
catch (Exception e) { catch (Exception e) {
logger.warn("examineConsumerConnectionInfo exception, " + consumerGroup, e); logger.warn("examineConsumeStats exception to consumerGroup {}, response [{}]", consumerGroup, e.getMessage());
} }
groupConsumeInfo.setGroup(consumerGroup); groupConsumeInfo.setGroup(consumerGroup);