Skip to content

Commit

Permalink
Fix typo (dpkp#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
haracejacob authored and Gabriel Tincu committed Sep 22, 2020
1 parent 3b45477 commit 1a3b19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/consumer/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def _retrieve_offsets(self, timestamps, timeout_ms=float("inf")):
# Issue #1780
# Recheck partition existence after after a successful metadata refresh
if refresh_future.succeeded() and isinstance(future.exception, Errors.StaleMetadata):
log.debug("Stale metadata was raised, and we now have an updated metadata. Rechecking partition existance")
log.debug("Stale metadata was raised, and we now have an updated metadata. Rechecking partition existence")
unknown_partition = future.exception.args[0] # TopicPartition from StaleMetadata
if self._client.cluster.leader_for_partition(unknown_partition) is None:
log.debug("Removed partition %s from offsets retrieval" % (unknown_partition, ))
Expand Down

0 comments on commit 1a3b19d

Please sign in to comment.