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/10/08 13:30:45 UTC

[GitHub] [pulsar] zzzming opened a new pull request #5341: [pulsar-broker] retrieve stats for all persistent topics in a single call

zzzming opened a new pull request #5341: [pulsar-broker] retrieve stats for all persistent topics in a single call
URL: https://github.com/apache/pulsar/pull/5341
 
 
   ### Motivation
   Currently users are required to make multiple calls to retrieve individual stats of all persistent topics.
   
   ### Modifications
   
   1. Get a complete list of all persistent topics
   2. Iterate through the list to get topic's stats based on its topic reference.
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   This change is a trivial rework / code cleanup without any test coverage.
   
   This change is based on all existing functionalities provided by PersistentTopic and its base class.
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (yes)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (yes)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (JavaDocs)
     - If a feature is not applicable for documentation, explain why?
     - If a feature is not documented yet in this PR, please create a followup issue for adding the documentation
   

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