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

try to fix uncaught FailedPayloadsError in consumer #392

Merged
merged 1 commit into from Jun 8, 2015

Conversation

reAsOn2010
Copy link
Contributor

about #386. It‘s a not that elegant fix, but works...

@reAsOn2010
Copy link
Contributor Author

And this fix not solve the second problem about NotLeaderForPartitionError after the failed broker recover

@@ -341,6 +341,8 @@ def _fetch(self):
for resp in responses:

try:
if isinstance(resp, Exception):
raise resp
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this check can probably move into the kafka.utils.check_error function

@dpkp
Copy link
Owner

dpkp commented Jun 8, 2015

thanks for the PR! I added a few comments, and also would love if you could take a stab at adding a test for this.

@reAsOn2010 reAsOn2010 force-pushed the fix-uncaught-FailedPayloadsError branch from cb6d561 to 945fc04 Compare June 8, 2015 20:21
dpkp added a commit that referenced this pull request Jun 8, 2015
try to fix uncaught FailedPayloadsError in consumer
@dpkp dpkp merged commit ce702ef into dpkp:master Jun 8, 2015
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 this pull request may close these issues.

None yet

2 participants