Skip to content

Read until end of topic #1761

Closed Answered by Jarema
yashh asked this question in Q&A
Discussion options

You must be logged in to vote

You can check the Metadata() on Msg, which contains

		// NumPending is the number of messages that match the consumer's
		// filter, but have not been delivered yet.
		NumPending uint64

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yashh
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