public static AlterPartitionRequest parse(ByteBuffer buffer, short version) {
        return new AlterPartitionRequest(new AlterPartitionRequestData(new ByteBufferAccessor(buffer), version), version);
    }
Get an error response for a request with specified throttle time in the response if applicable
clients/src/main/java/org/apache/kafka/common/requests/AlterPartitionRequest.java