public static OptionalLong ofSentinel(long value) {
        return value != -1 ? OptionalLong.of(value) : OptionalLong.empty();
    }
@return An OptionalLong containing the value iff the value is different from
the sentinel (or default) value -1.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/Utils.java