summaryrefslogtreecommitdiff
path: root/kafka/consumer/fetcher.py
diff options
context:
space:
mode:
authorTaras <voyn1991@gmail.com>2017-10-11 17:39:11 +0300
committerTaras <voyn1991@gmail.com>2017-10-12 11:10:44 +0300
commita8b25decf1d70e50223ab5c4fe5a122f0a9476ad (patch)
tree79b891b4326255f7c3e495a79c6362ec19e2e309 /kafka/consumer/fetcher.py
parenta12ca527a4b8ac77e21e63db7d47b4a68015b780 (diff)
downloadkafka-python-a8b25decf1d70e50223ab5c4fe5a122f0a9476ad.tar.gz
Remove the check for timestamp None in producer, as it's done in RecordBatch anyway.
Minor abc doc fixes.
Diffstat (limited to 'kafka/consumer/fetcher.py')
-rw-r--r--kafka/consumer/fetcher.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/kafka/consumer/fetcher.py b/kafka/consumer/fetcher.py
index 54a771a..493c1ff 100644
--- a/kafka/consumer/fetcher.py
+++ b/kafka/consumer/fetcher.py
@@ -467,12 +467,6 @@ class Fetcher(six.Iterator):
log.exception('StopIteration raised unpacking messageset: %s', e)
raise Exception('StopIteration raised unpacking messageset')
- # If unpacking raises AssertionError, it means decompression unsupported
- # See Issue 1033
- except AssertionError as e:
- log.exception('AssertionError raised unpacking messageset: %s', e)
- raise
-
def __iter__(self): # pylint: disable=non-iterator-returned
return self