Commits and Offsets
This lesson explains offsets that are committed by consumers to remember their position in the partition that they read.
We'll cover the following...
We have read so far that Kafka consumers poll topic partitions for records using the poll()
method. The method returns some number of records for the consumer to process. However, if a rebalance occurs and the partition gets assigned to a different consumer within the consumer group, then the newly assigned consumer must know where the previous consumer stopped in order to resume reading records from ...