diff options
author | Carson Ip <carsonip715@gmail.com> | 2019-10-25 16:41:07 +0800 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2019-11-08 05:21:16 -0800 |
commit | 3861e16ea4ef8d60bc6ffc51c0183da33c629642 (patch) | |
tree | e72741a5edf3eb2fe141fe2c37a2001f3797989b /kafka/consumer/fetcher.py | |
parent | 736218da447cc97624d1f0838f1a15fefc24bd24 (diff) | |
download | kafka-python-3861e16ea4ef8d60bc6ffc51c0183da33c629642.tar.gz |
Fix typos
Diffstat (limited to 'kafka/consumer/fetcher.py')
-rw-r--r-- | kafka/consumer/fetcher.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kafka/consumer/fetcher.py b/kafka/consumer/fetcher.py index 5434c36..f9d96b0 100644 --- a/kafka/consumer/fetcher.py +++ b/kafka/consumer/fetcher.py @@ -255,7 +255,7 @@ class Fetcher(six.Iterator): Arguments: timestamps: {TopicPartition: int} dict with timestamps to fetch offsets by. -1 for the latest available, -2 for the earliest - available. Otherwise timestamp is treated as epoch miliseconds. + available. Otherwise timestamp is treated as epoch milliseconds. Returns: {TopicPartition: (int, int)}: Mapping of partition to @@ -291,7 +291,7 @@ class Fetcher(six.Iterator): self._client.poll(future=refresh_future, timeout_ms=remaining_ms) # Issue #1780 - # Recheck partition existance after after a successful metadata refresh + # 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") unknown_partition = future.exception.args[0] # TopicPartition from StaleMetadata |