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/05/31 14:29:49 UTC

[GitHub] Audace opened a new issue #1875: Problems with Persistent Topic stats

Audace opened a new issue #1875: Problems with Persistent Topic stats 
URL: https://github.com/apache/incubator-pulsar/issues/1875
 
 
   #### Expected behavior
   
   Every 60 seconds, I expect an API requests to the stats endpoint to reflect refreshed statistics. Furthermore, I expect both the `msgRateIn` and `msgRateOut` to reflect the number of messages published and number of messages ack'd, respectively.
   
   #### Actual behavior
   
   For the first stats computed, the `msgRateIn` and `msgRateOut` reflect reasonable numbers. After this, every 60 seconds the stats are updated, however, `msgRateIn` changes in reasonable amounts but `msgRateOut` is always 0.0 (along with `msgThroughputOut`).
   
   There must be a bug with `msgRateOut` - as this always is 0.0 despite successfully ack'ing messages.
   
   #### Steps to reproduce
   
   Deploy Pulsar 2.0.0 locally. Create a producer that writes to a persistent topic. Create a consumer that reads from a persistent topic and acks the messages. Hit `http://localhost:8080/admin/persistent/sample/standalone/ns1/my-topic/stats` every 60 seconds and monitor changes.
   
   #### System configuration
   **Pulsar version**: 2.0.0
   

----------------------------------------------------------------
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