ShadowySpirits commented on code in PR #5834:
URL: https://github.com/apache/rocketmq/pull/5834#discussion_r1063196401
##########
store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java:
##########
@@ -849,7 +849,11 @@ public GetMessageResult getMessage(final String group,
final String topic, final
continue;
}
-
this.storeStatsService.getGetMessageTransferredMsgCount().add(cqUnit.getBatchNum());
+ if (topicConfig.isPresent()) {
+ if
(!topicConfig.get().getTopicName().contains(TopicValidator.RMQ_SYS_REVIVE_LOG))
{
Review Comment:
I mean add a new counter in BrokerStatsManager and do not remove the current
counter. The new counter only records the throughput of the user's topic. This
is more general and semantically clear.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]