Skip to content

Commit eff8d2b

Browse files
committed
Fixes #14
1 parent bff6cae commit eff8d2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/consumer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def seek(self, offset, whence):
7878
"""
7979
if whence == 1: # relative to current position
8080
for partition, _offset in self.offsets.items():
81-
self.offset[partition] = _offset + offset
81+
self.offsets[partition] = _offset + offset
8282
elif whence in (0, 2): # relative to beginning or end
8383
# divide the request offset by number of partitions, distribute the remained evenly
8484
(delta, rem) = divmod(offset, len(self.offsets))

0 commit comments

Comments
 (0)