visortelle opened a new issue, #16284:
URL: https://github.com/apache/pulsar/issues/16284

   **How to reproduce**
   
   - Create a partitioned topic
    
     `pulsar-admin topics create-partitioned-topic -p 2 
persistent://public/default/prt-1`
   
   - Wait for about a minute and try to get broker topics stats
     
     `pulsar-admin broker-stats topics -i | grep prt`
   
     You'll get an empty output.
   
   - Now try to get the specific topic stats
   
     `pulsar-admin topics partitioned-stats persistent://public/default/prt-1`
   
     You'll get the topic's stats.
   
   - Wait for wait about a minute and try to get broker topics stats again.
   
     `pulsar-admin broker-stats topics -i | grep prt`
   
     You'll get the topic's stats now.
   
     ```
     "persistent://public/default/prt-1-partition-1": {
     "persistent://public/default/prt-1-partition-0": {
     ```
   
   ---
   Pulsar v2.10.0
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to