Skip to content

Commit

Permalink
Merge pull request #376 from hellais/fix/offset
Browse files Browse the repository at this point in the history
Fix calling of _offsets
  • Loading branch information
dpkp committed May 14, 2015
2 parents cd81cf0 + 353c01e commit f020c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/consumer/kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def fetch_messages(self):
logger.warning('OffsetOutOfRange: topic %s, partition %d, '
'offset %d (Highwatermark: %d)',
topic, partition,
self.offsets._fetch[(topic, partition)],
self._offsets.fetch[(topic, partition)],
resp.highwaterMark)
# Reset offset
self._offsets.fetch[(topic, partition)] = (
Expand Down

0 comments on commit f020c45

Please sign in to comment.