Closed
Description
When not using auto-commit, the consumer object will set the default offset to 0 for all partitions:
https://github.com/mumrah/kafka-python/blob/master/kafka/consumer.py#L119
This is an absolute offset and will only work so long as the first message is still in an active log segment. As soon as it gets rolled by the server, the default consumer will no longer be able to fetch messages without a manual seek.
I think we should probably query the server for the smallest valid offset rather than assuming offset 0 is still there.