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

How to get offset for specific consumer-group? #819

Closed
chrislee87 opened this issue Aug 25, 2016 · 2 comments
Closed

How to get offset for specific consumer-group? #819

chrislee87 opened this issue Aug 25, 2016 · 2 comments

Comments

@chrislee87
Copy link

chrislee87 commented Aug 25, 2016

I use mirror-maker(which is an outsider and independent consumer/producer) to sync data between clusters, mirror-maker record offset in kafka, how to get offset for it?
What I want is the offset for a specific group-topic-partition, not logsize for a topic-partition.

@dpkp
Copy link
Owner

dpkp commented Aug 25, 2016

There is a kafka API (OffsetFetchRequest), but kafka-python does not currently provide any admin client to make this type of check easy. I'd recommend using the kafka shell scripts for now.

@jeffwidman
Copy link
Contributor

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

3 participants