public static boolean supportsTopicPermission(short latestUsableVersion) {
        return latestUsableVersion >= 3;
    }
Check whether a broker allows Topic-level permissions in order to use the
OffsetForLeaderEpoch API. Old versions require Cluster permission.
clients/src/main/java/org/apache/kafka/common/requests/OffsetsForLeaderEpochRequest.java