Class SubscriptionState.FetchPosition
java.lang.Object
org.apache.kafka.clients.consumer.internals.SubscriptionState.FetchPosition
- Enclosing class:
SubscriptionState
Represents the position of a partition subscription.
This includes the offset and epoch from the last record in
the batch from a FetchResponse. It also includes the leader epoch at the time the batch was consumed.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFetchPosition(long offset, Optional<Integer> offsetEpoch, org.apache.kafka.clients.Metadata.LeaderAndEpoch currentLeader) -
Method Summary