Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to give the backlog for a databus consumer #46

Open
sreedishps opened this issue Dec 7, 2015 · 3 comments
Open

API to give the backlog for a databus consumer #46

sreedishps opened this issue Dec 7, 2015 · 3 comments

Comments

@sreedishps
Copy link
Contributor

This is to come up with an API which will give the pending amount of data to be consumed by a databus consumer.

@raju-bairishetti
Copy link

@sreedishps Do you mean how much time is lagging behind current time or how much data(in size) is pending? I am assuming that this is for providing the lagging time instead of lagging size.

@sreedishps
Copy link
Contributor Author

@raju-bairishetti this is for getting the current pending 'size' (collector + local) for a databus consumer

@raju-bairishetti
Copy link

We have a metric for the last read minute directory for local, merge & mirror streams for databus consumer.

We have metrics for the lagging time as well for all stream types. Seems this metric is sufficient.

References:

https://github.com/InMobi/pintail/search?utf8=%E2%9C%93&q=getLatestDirectoryLagTime

https://github.com/InMobi/pintail/blob/b9cbe17e5042ad08ec51b6cf3987c77a4dc4d592/messaging-client-databus/src/main/java/com/inmobi/messaging/metrics/PartitionReaderStatsExposer.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants