public static ApiVersionCollection brokerApiVersions(
        RecordVersion minRecordVersion,
        ListenerType listenerType,
        boolean enableUnstableLastVersion,
        boolean clientTelemetryEnabled
    ) {
        return filterApis(
            minRecordVersion,
            listenerType,
            enableUnstableLastVersion,
            clientTelemetryEnabled);
    }
Possible error codes:
- {@link Errors#UNSUPPORTED_VERSION}
- {@link Errors#INVALID_REQUEST}
clients/src/main/java/org/apache/kafka/common/requests/ApiVersionsResponse.java