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

about consumer of groupID #8

Open
7zkeeper opened this issue Jul 18, 2017 · 1 comment
Open

about consumer of groupID #8

7zkeeper opened this issue Jul 18, 2017 · 1 comment

Comments

@7zkeeper
Copy link

how can i set the groupid of consumer ?

@skarlsson
Copy link
Member

look in the offset_commit_sample.cpp
csi::kafka::consumer_coordinator coordinator(io_service, consumer_group);

however it's up to you - you decide your group id and get the offsets from the consumer coordinator and use those offsets to initiate the consumer. Finally committing the offsets back

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