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

Kafkactl --reset-offsets option does not create the consumer group if it doesn't exist yet #175

Closed
clvacher opened this issue Mar 25, 2022 · 1 comment

Comments

@clvacher
Copy link

While this seems like a good safeguard against typos, this feature does exist in the standard kafka-consumer-groups console command and is essential in the following scenarios:

-You want to anticipate your consumers going live and starting at a specific offset instead of just taking their default auto.offset.reset property
-Your consumer is live but hasn't started consuming yet because there are no new data and the auto.offset.reset property is set to latest. The consumer group has never committed a transaction and therefore does not yet have an existing consumer group. If a new record comes in and causes a crash (which can happen frequently in testing environments), the transaction has never been committed, and there's no way to re-consume the data if you're still in latest consumption unless you manually set the offset on the "non-existing" consumer group

@loicgreffier
Copy link
Collaborator

Duplicate from #171

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