diff options
author | David Arthur <mumrah@gmail.com> | 2013-05-29 16:25:42 -0400 |
---|---|---|
committer | David Arthur <mumrah@gmail.com> | 2013-05-29 16:29:01 -0400 |
commit | 97962d4af3c0e57a549f432a7604f8ba0c5914fd (patch) | |
tree | 3ebdf04926bd927a98bff7d0c52b68ad9e0d3323 | |
parent | a8e423c7e7aa861b2476ed760dada26a024fdacf (diff) | |
download | kafka-python-97962d4af3c0e57a549f432a7604f8ba0c5914fd.tar.gz |
Removing the bit about offsets
-rw-r--r-- | kafka/consumer.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kafka/consumer.py b/kafka/consumer.py index 7f6a6f0..d09803a 100644 --- a/kafka/consumer.py +++ b/kafka/consumer.py @@ -219,11 +219,6 @@ class SimpleConsumer(object): start a new batch unless we've reached the end of ths partition. """ - # Unless it is the first message in the queue, we have to fetch - # the next one - if offset != 0: - offset += 1 - while True: req = FetchRequest(self.topic, partition, offset, 1024) # TODO configure fetch size (resp,) = self.client.send_fetch_request([req]) |