Skip to content

Commit

Permalink
[fix][broker] Fix message drop record in producer stat (apache#22458)
Browse files Browse the repository at this point in the history
Co-authored-by: ceceezhang <[email protected]>
  • Loading branch information
zhangqian321 and ceceezhang authored Apr 10, 2024
1 parent fb5caeb commit cea1a9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ public void updateRates() {
}
if (this.isNonPersistentTopic) {
msgDrop.calculateRate();
((NonPersistentPublisherStatsImpl) stats).msgDropRate = msgDrop.getRate();
((NonPersistentPublisherStatsImpl) stats).msgDropRate = msgDrop.getValueRate();
}
}

Expand Down

0 comments on commit cea1a9b

Please sign in to comment.