codelipenghui commented on issue #5755: UnAckedMessages admin information not 
correct
URL: https://github.com/apache/pulsar/issues/5755#issuecomment-560257624
 
 
   Is the the negative number of `unackedMessages` can reproduce every time, i 
have test it by using your POC code, but the stats of the topic is always:
   ```json
   {
     "msgRateIn": 0,
     "msgRateOut": 0,
     "msgThroughputIn": 0,
     "msgThroughputOut": 0,
     "averageMsgSize": 0,
     "storageSize": 4772378,
     "publishers": [],
     "subscriptions": {
       "one-subscription": {
         "blockedSubscriptionOnUnackedMsgs": false,
         "isReplicated": false,
         "msgRateOut": 0,
         "msgThroughputOut": 0,
         "msgRateRedeliver": 0,
         "msgRateExpired": 0,
         "msgBacklog": 99950,
         "msgDelayed": 0,
         "unackedMessages": 50010,
         "type": "Shared",
         "activeConsumerName": "",
         "consumers": [
           {
             "blockedConsumerOnUnackedMsgs": true,
             "availablePermits": 940,
             "unackedMessages": 50010,
             "msgRateOut": 0,
             "msgThroughputOut": 0,
             "msgRateRedeliver": 0,
             "consumerName": "f2273",
             "metadata": {}
           }
         ]
       }
     },
     "replication": {},
     "deduplicationStatus": "Disabled"
   }
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to