@Override
            void handleResponse(AbstractResponse response) {
                AddRaftVoterResponse addResponse = (AddRaftVoterResponse) response;
                if (addResponse.data().errorCode() != Errors.NONE.code()) {
                    ApiError error = new ApiError(
                            addResponse.data().errorCode(),
                            addResponse.data().errorMessage());
                    future.completeExceptionally(error.exception());
                } else {
                    future.complete(null);
                }
            }
Returns the broker id pertaining to the given resource, or null if the resource is not associated
with a particular broker.
clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java