ClusterResource clusterResource() {
        return new ClusterResource(clusterId);
    }
Get leader-epoch for partition.

@param tp partition
@return leader-epoch if known, else return OptionalInt.empty()
clients/src/main/java/org/apache/kafka/clients/MetadataSnapshot.java