Skip to content

Commit 9868ab0

Browse files
committed
Make UnknownTopicOrPartitionError retriable error
1 parent ca02bb1 commit 9868ab0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kafka/errors.py

Lines changed: 1 addition & 0 deletions
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)