Skip to content

Commit 512d0a0

Browse files
afeblotAlexandre Feblot
andauthored
Fetcher: Add missing argument in debug log (#2665)
Co-authored-by: Alexandre Feblot <[email protected]>
1 parent 20e2d52 commit 512d0a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kafka/consumer/fetcher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,8 @@ def _create_fetch_requests(self):
661661
elif not self._client.ready(node_id):
662662
# Until we support send request queues, any attempt to send to a not-ready node will be
663663
# immediately failed with NodeNotReadyError.
664-
log.debug("Skipping fetch for partition %s because connection to leader node is not ready yet")
664+
log.debug("Skipping fetch for partition %s because connection to leader node is not ready yet",
665+
partition)
665666

666667
elif node_id in self._nodes_with_pending_fetch_requests:
667668
log.debug("Skipping fetch for partition %s because there is a pending fetch request to node %s",

0 commit comments

Comments
 (0)