Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
fix: kafka seek to beginning now takes a list (#26)
Browse files Browse the repository at this point in the history
* fix: use seek to set partition offset
  • Loading branch information
shawnsarwar authored Nov 30, 2020
1 parent b620552 commit 6441a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aet/kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,4 +323,4 @@ def seek_to_beginning(self):
partitions = self.assignment()
for p in partitions:
p.offset = confluent_kafka.OFFSET_BEGINNING
super(KafkaConsumer, self).assign(p)
super(KafkaConsumer, self).seek(p)

0 comments on commit 6441a5b

Please sign in to comment.