Skip to content

Commit fb61535

Browse files
committed
UnknownLeaderEpochError => invalid metadata
1 parent f28ed0e commit fb61535

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
@@ -664,6 +664,7 @@ class UnknownLeaderEpochError(BrokerResponseError):
664664
message = 'UNKNOWN_LEADER_EPOCH'
665665
description = 'The leader epoch in the request is newer than the epoch on the broker.'
666666
retriable = True
667+
invalid_metadata = True
667668

668669

669670
class UnsupportedCompressionTypeError(BrokerResponseError):

0 commit comments

Comments
 (0)