synchronized boolean tryUpdatingLastStableOffset(TopicPartition tp, long lastStableOffset) {
        final TopicPartitionState state = assignedStateOrNull(tp);
        if (state != null) {
            assignedState(tp).lastStableOffset(lastStableOffset);
            return true;
        }
        return false;
    }
Attempt to complete validation with the end offset returned from the OffsetForLeaderEpoch request.
@return Log truncation details if detected and no reset policy is defined.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/SubscriptionState.java