Skip to content

Commit 1664374

Browse files
Merge pull request dpkp#1160 from dpkp/issue1155
Make UnknownTopicOrPartitionError retriable error
2 parents ca02bb1 + 9868ab0 commit 1664374

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kafka/errors.py

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ class UnknownTopicOrPartitionError(BrokerResponseError):
109109
message = 'UNKNOWN_TOPIC_OR_PARTITION'
110110
description = ('This request is for a topic or partition that does not'
111111
' exist on this broker.')
112+
retriable = True
112113
invalid_metadata = True
113114

114115

0 commit comments

Comments
 (0)