@Override
        public int hashCode() {
            return Objects.hash(offset, offsetEpoch, currentLeader);
        }
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.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/SubscriptionState.java