Skip to content

Estimating how many messages are left to consume #109

Closed Answered by acogoluegnes
VitorVilela7 asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the late reply, somehow this went under the radar :-(

What would need this for exactly? (you mentioned it'd be "cool", but I'd like to know the exact reason :-) )

This is metrics is likely to change a lot (fast publishers, fast consumer) and will not be always relevant: some consumers may start at the beginning of a stream and stop at some point, because they are meant to process some part of the data, not everything. For such cases, the metrics would not mean anything. This is why I'd like to know more about your use case.

Note the REST API provides the "offset lag": the difference between the offset of the last message dispatched to the consumer and the last stored offset. So …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VitorVilela7
Comment options

Answer selected by acogoluegnes
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