ADO.NET Provider for Apache Kafka

Build 25.0.9539

OffsetResetStrategy

Specifies how the provider determines the starting offset when no committed offset exists for the consumer group.

Possible Values

Earliest, Latest

Data Type

string

Default Value

"Earliest"

Remarks

This property applies when the consumer group has no previously committed offset for a partition.

Select one of the following strategies:

ValueDescription
EarliestStart reading from the beginning of the partition.
LatestStart 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.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539