startjava commented on issue #17983:
URL: https://github.com/apache/pulsar/issues/17983#issuecomment-1274065628
How do I change my code so that the result is 9?
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年10月11日(星期二) 中午12:16
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [apache/pulsar] [Bug] getUnackedMessages() always return 0 (Issue
#17983)
You're use acknowledgeCumulative and nod ack method , see #17978 (reply in
thread) , so you got the unackmessages is 0.
I have test this case:
consumer subscribe topic of persistent://public/default/test
producer send 10 messages to persistent://public/default/test
consumer ack the first message
check unackMessages from pulsarctl topics stats
persistent://public/default/test-partition-0 (this is a partition topic )
got the unackMessages is 9.
/cc @Technoboy- @startjava
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
--
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]