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

Error getting current OffSet a combination topic/partition #123

Closed
josesanchezr opened this issue Jul 1, 2014 · 0 comments · Fixed by #125
Closed

Error getting current OffSet a combination topic/partition #123

josesanchezr opened this issue Jul 1, 2014 · 0 comments · Fixed by #125

Comments

@josesanchezr
Copy link

When using the GetOffset function it get:

offset, err := clientKafka.GetOffset(cfgConfig.Client.Topic, 0, 1000)
Where:
offset = -1
err = Error: kafka: Response did not contain all the expected topic/partition blocks.

eapache added a commit that referenced this issue Jul 2, 2014
Return OffsetOutOfRange instead of IncompleteResponse. Apparently when the
offset is out of range for an offset request, it doesn't return an error, just a
blank array, so translate that appropriately.

Fixes #123
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 a pull request may close this issue.

1 participant