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/11/27 10:24:21 UTC

[GitHub] [pulsar] Fomal-haut opened a new issue #5755: UnAckedMessages admin information not correct

Fomal-haut opened a new issue #5755: UnAckedMessages admin information not correct
URL: https://github.com/apache/pulsar/issues/5755
 
 
   We are trying to test UnAck message redelivery function. 
   
   Version: 2.4.1 standalone
   
   
   **Describe the bug**
   We use pulsar admin CLI to check topic stats. The unackedMessages field number is negative which makes no sense to me.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Set "maxUnackedMessagesPerConsumer" to be 0 (Non 0 value won't trigger this bug) 
   2. Start pulsar(standalone)
   3. Use java pulsar client to create topic and subscription.
   4. Utilize java pulsar client to produce 100000 messages.
   5. Start a consumer to consume messages, acknowledge 1 message for every 1000 messages.
   
   **Expected behavior**
   ![image](https://user-images.githubusercontent.com/6291739/69706066-e322cd80-1131-11ea-8e11-a69bec77d92d.png)
   
   **Practice behavior**
   ![image](https://user-images.githubusercontent.com/6291739/69706109-fa61bb00-1131-11ea-9819-4844b4a29247.png)
   It is clear that the unackedMessages is a negative number.
   
   **Desktop (please complete the following information):**
    - OS: Mac OS 10.14.6
   

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