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

ResetOffsets doesn't delete correctly #14

Open
rrh opened this issue Nov 10, 2015 · 0 comments
Open

ResetOffsets doesn't delete correctly #14

rrh opened this issue Nov 10, 2015 · 0 comments

Comments

@rrh
Copy link
Contributor

rrh commented Nov 10, 2015

Line 420 if consumergroup.go: You are attempting to delete version 0, which may not exist.

AFAICT (I'm no expert here), you first need to call Exists to return a stat struct for this node, extract the version number from that stat structure, and then delete that version, much as is done for the parent delete at line 425 just below that.

In addition, it would be nice if there were a path in JoinConsumerGroup (package kafka) that could optionally call ResetOffsets()

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

1 participant