public InetAddress currentAddress(String id) throws UnknownHostException {
        return nodeState(id).currentAddress();
    }
Returns a resolved address for the given connection, resolving it if necessary.
@param id the id of the connection
@throws UnknownHostException if the address was not resolvable
clients/src/main/java/org/apache/kafka/clients/ClusterConnectionStates.java