You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for topic_partition, offset_and_timestamp in begin_offset_dic.items():
self.consumer.seek(topic_partition, offset_and_timestamp[0])
self.consumer.subscribe(self.topic)
self.consumer.poll(0)
consumer_timestamp_window.py
这个消费指定时间的offset的。
这两行代码是不是应该调转过来,否则会报错
AssertionError: Unassigned partition
The text was updated successfully, but these errors were encountered: