public ApiVersion apiVersion(ApiKeys apiKey) {
        return supportedVersions.get(apiKey);
    }
Get the version information for a given API.

@param apiKey The api key to lookup
@return The api version information from the broker or null if it is unsupported
clients/src/main/java/org/apache/kafka/clients/NodeApiVersions.java