Skip to content

The number of messages in unacknowledged state for a subscription #23139

Answered by lhotari
qwehjkadhaskjf asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the Pulsar Admin API's stats endpoint (In the pulsar-admin command line too pulsar-admin topics stats) to get the information. More details in https://pulsar.apache.org/docs/3.3.x/administration-stats/ .

unackedMessages The number of unacknowledged messages for the subscription, where an unacknowledged message is one that has been sent to a consumer but not yet acknowledged. This field is only meaningful when using a subscription that tracks individual message acknowledgment.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@qwehjkadhaskjf
Comment options

@lhotari
Comment options

lhotari Aug 8, 2024
Collaborator

@qwehjkadhaskjf
Comment options

Answer selected by qwehjkadhaskjf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants