We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GetBlock()
Currently, in case of error getting partition block, the error is hidden as GetBlock() method from sarama does not return the specific error (link)
block := offsets.GetBlock(topic, partitionID) if block == nil { errMsg := fmt.Errorf("error finding offset block for topic %s and partition %d", topic, partitionID) s.logger.Error(errMsg, "") return 0, 0, errMsg }
This makes it very hard to debug the real reason as highlighted in #4215. We can print out the offsets.Blocks for more information
offsets.Blocks
No response
Yes
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Proposal
Currently, in case of error getting partition block, the error is hidden as
GetBlock()
method from sarama does not return the specific error (link)This makes it very hard to debug the real reason as highlighted in #4215. We can print out the
offsets.Blocks
for more informationUse-Case
No response
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: