public Optional<Integer> leaderEpoch() {
        return leaderEpoch;
    }
Get the leader epoch corresponding to the offset that was found (if one exists).
This can be provided to seek() to ensure that the log hasn't been truncated prior to fetching.

@return The leader epoch or empty if it is not known
clients/src/main/java/org/apache/kafka/clients/consumer/OffsetAndTimestamp.java