Skip to content

Commit

Permalink
[fix][broker] Fix message drop record in producer stat (#22458)
Browse files Browse the repository at this point in the history
Co-authored-by: ceceezhang <ceceezhang@tencent.com>
(cherry picked from commit cea1a9b)
  • Loading branch information
zhangqian321 authored and lhotari committed Apr 22, 2024
1 parent 49bcbb6 commit 72d290a
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 72d290a

Please sign in to comment.