Firstly, Kafka consumer group helps us when your topic has more than 1 partition.
Consider below scenarios:-
No. Of Partitions - 3, Consumers - 3
Kafka assigns one partition to one consumer. Unless some consumer failed and Consumer Rebalancing occurs(re-assigning partitions to consumers), all consumers are mapped to their partitions and consume events in sequence manner with respect to those partitions.
No. Of Partitions - 1, Consumers - 3
If there are more consumers than number of partitions, Kafka do not have enough partitions to assign the consumers. So, one consumer of the group gets assigned to the partitions and rest of consumers of the group would be sitting idle.
No.Of Partitions - 4, Consumers - 3
In this scenario, one of the consumer gets 2 partitions and during Consumer rebalancing another consumer might get 2 partitions.
To your question on whether Kafka maintains some kind of track to maintain the sequence ?
yes - At partition level - It maintains commit offset in each partition and consumes in sequence.
No - At Topic level (unless you have single partition).
** @mike explained above on how the sequence is maintained at partition level using commit offset.