liangyuanpeng commented on issue #17983:
URL: https://github.com/apache/pulsar/issues/17983#issuecomment-1274063557

   You're use acknowledgeCumulative and nod ack method , see 
https://github.com/apache/pulsar/discussions/17978#discussioncomment-3835999 , 
so you got the unackmessages is 0.
   
   I have test this case:
   
   1. consumer subscribe topic of `persistent://public/default/test`
   2. producer send 10 messages to `persistent://public/default/test`
   3. consumer ack the first message
   4. check unackMessages from `pulsarctl topics stats 
persistent://public/default/test-partition-0`   (this is a partition topic )
   5. got the `unackMessages ` is 9.
   
   /cc  @Technoboy-  @startjava 


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