Committing an offset for a partition is the action of saying that the offset has been processed so that Kafka cluster won't send the committed records for the same partition.
Committed offset is important in case of a consumer recovery or rebalancing (we will learn more about rebalancing in a next tutorial).May 9, 2563 BE
https://www.learningjournal.guru/courses/kafka/kafka-foundation-training/offset-management/