@Override
            AddRaftVoterRequest.Builder createRequest(int timeoutMs) {
                AddRaftVoterRequestData.ListenerCollection listeners =
                    new AddRaftVoterRequestData.ListenerCollection();
                endpoints.forEach(endpoint ->
                    listeners.add(new AddRaftVoterRequestData.Listener().
                        setName(endpoint.name()).
                        setHost(endpoint.host()).
                        setPort(endpoint.port())));
                return new AddRaftVoterRequest.Builder(
                   new AddRaftVoterRequestData().
                       setVoterId(voterId) .
                       setVoterDirectoryId(voterDirectoryId).
                       setListeners(listeners));
            }
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