Skip to content

Commit 95c2f3a

Browse files
committed
Dont mark coordinator dead on ThrottlingQuotaExceededError
1 parent 62a7d80 commit 95c2f3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kafka/coordinator/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,9 @@ def _send_join_group_request(self):
562562

563563
def _failed_request(self, node_id, request, future, error):
564564
# Marking coordinator dead
565-
# unless the error is caused by internal client pipelining
565+
# unless the error is caused by internal client pipelining or throttling
566566
if not isinstance(error, (Errors.NodeNotReadyError,
567+
Errors.ThrottlingQuotaExceededError,
567568
Errors.TooManyInFlightRequests)):
568569
log.error('Error sending %s to node %s [%s]',
569570
request.__class__.__name__, node_id, error)

0 commit comments

Comments
 (0)