Skip to content

Commit f020c45

Browse files
committed
Merge pull request #376 from hellais/fix/offset
Fix calling of _offsets
2 parents cd81cf0 + 353c01e commit f020c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/consumer/kafka.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def fetch_messages(self):
344344
logger.warning('OffsetOutOfRange: topic %s, partition %d, '
345345
'offset %d (Highwatermark: %d)',
346346
topic, partition,
347-
self.offsets._fetch[(topic, partition)],
347+
self._offsets.fetch[(topic, partition)],
348348
resp.highwaterMark)
349349
# Reset offset
350350
self._offsets.fetch[(topic, partition)] = (

0 commit comments

Comments
 (0)