Skip to content

Conversation

@BasPH
Copy link

@BasPH BasPH commented Aug 25, 2017

Added a Dockerfile and wrote in the readme how to build & run.

ADD kafka-offset-exporter /
EXPOSE 9000
ENTRYPOINT ["/kafka-offset-exporter"]
CMD ["-brokers", "127.0.0.1:9092", "-topics", "^[^_].*", "-groups", "."]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should change -groups argument to '.*' otherwise no consumer-groups will match the pattern and therefore their stats will not be published but topic oldest/youngest offsets will still work, so you may not immediately notice.

lshegll pushed a commit to lshegll/kafka-offset-exporter that referenced this pull request Mar 4, 2019
Make kafka version configurable
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

Successfully merging this pull request may close these issues.

2 participants