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 2022/10/11 04:16:03 UTC

[GitHub] [pulsar] liangyuanpeng commented on issue #17983: [Bug] getUnackedMessages() always return 0

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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org