Skip to content

Conversation

@mutability
Copy link
Contributor

The caller is expecting failure responses, not thrown exceptions; make sure to catch exceptions from calls that might provoke a metadata request.

This avoids send_produce_request unexpectedly throwing an exception, which ends up killing the async producer thread.

Fixes issue #429

thieman added a commit to gamechanger/kafka-python that referenced this pull request Oct 7, 2015
dpkp added a commit that referenced this pull request Oct 7, 2015
Catch KafkaUnavailableError in _send_broker_aware_request
@dpkp dpkp merged commit e99a934 into dpkp:master Oct 7, 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.

2 participants