There are multiple strategies to read a topic from its beginning. To explain those, we first need to understand what happens at consumer startup. On startup of a consumer, the following happens:
join the configured consumer group, which triggers a rebalance and assigns partitions to the consumer
...