You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/09/22 06:14:17 UTC

[GitHub] massakam opened a new pull request #2637: Fix average size of messages included in partitioned stats

massakam opened a new pull request #2637: Fix average size of messages included in partitioned stats
URL: https://github.com/apache/pulsar/pull/2637
 
 
   Stats of partitioned topic is the simple sum of the stats of all the partitions.
   https://github.com/apache/pulsar/blob/24605d328357e89ae107b549a6f0da2ce1683857/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java#L607-L612
   
   So, `averageMsgSize` included in the stats is the sum of `averageMsgSize` of all the partitions. I will fix it to the correct average value.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services