OffsetResetStrategy
Specifies how the provider determines the starting offset when no committed offset exists for the consumer group.
Possible Values
Earliest, Latestデータ型
string
デフォルト値
"Earliest"
解説
This property applies when the consumer group has no previously committed offset for a partition.
Select one of the following strategies:
| Value | Description |
| Earliest | Start reading from the beginning of the partition. |
| Latest | Start reading from the end of the partition, consuming only messages produced after the consumer group begins reading. |
Once a committed offset exists for a consumer group, Apache Kafka resumes reading from the committed offset regardless of this property's value.