Skip to content

size of topic #870

Answered by tjwp
steveburkett asked this question in Q&A
Discussion options

You must be logged in to vote

There is instrumentation of the consumer lag within ruby-kafka:

here: https://github.com/zendesk/ruby-kafka/blob/master/lib/kafka/consumer.rb#L232
and here: https://github.com/zendesk/ruby-kafka/blob/master/lib/kafka/consumer.rb#L325

If you're already using a consumer built on ruby-kafka then you can tap into those notifications: https://github.com/zendesk/ruby-kafka#instrumentation

This is what built-in metrics support use, such as the Datadog integration.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dasch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #870 on December 30, 2020 15:17.