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 2019/05/31 21:31:33 UTC

[GitHub] [pulsar] sleungtoast opened a new issue #4432: Client stats on partitioned topics missing some aggregated values

sleungtoast opened a new issue #4432: Client stats on partitioned topics missing some aggregated values
URL: https://github.com/apache/pulsar/issues/4432
 
 
   **Describe the bug**
   In `ProducerStatsRecorderImpl.updateCumulativeStats`, it aggregates
   ```
   numMsgsSent
   numBytesSent
   numSendFailed
   numAcksReceived
   totalMsgsSent
   totalBytesSent
   totalSendFailed
   totalAcksReceived
   ```
   but doesn't aggregate
   ```
   sendMsgsRate
   sendBytesRate
   latencyPctValues[]
   ```
   leading to incomplete stats for a parent partitioned topic producer. The consumer stats have a similar problem.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Create a partitioned topic
   2. Create a producer on that topic
   3. Call `producer.getStats()`, the rate and latency values will always be 0
   
   **Expected behavior**
   The "parent" producer of a partitioned topic should have fully populated aggregated stats from all its "children" producers

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services