diff options
author | Taras Voinarovskyi <voyn1991@gmail.com> | 2017-07-31 01:10:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-31 01:10:22 +0300 |
commit | 16643748cdedb2f1b27d4bce80a8d858eb33776b (patch) | |
tree | 91400aab071cc6d6b3a71423663c300cb5d1f5d3 | |
parent | ca02bb17bf0d7913736596594874c0274f1b7653 (diff) | |
parent | 9868ab04f70d684d1fcfd34a04a8f277d0fa37f6 (diff) | |
download | kafka-python-16643748cdedb2f1b27d4bce80a8d858eb33776b.tar.gz |
Merge pull request #1160 from dpkp/issue1155
Make UnknownTopicOrPartitionError retriable error
-rw-r--r-- | kafka/errors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kafka/errors.py b/kafka/errors.py index 8fcaf59..35f9d94 100644 --- a/kafka/errors.py +++ b/kafka/errors.py @@ -109,6 +109,7 @@ class UnknownTopicOrPartitionError(BrokerResponseError): message = 'UNKNOWN_TOPIC_OR_PARTITION' description = ('This request is for a topic or partition that does not' ' exist on this broker.') + retriable = True invalid_metadata = True |