public URI url() {
        return worker.rest().serverUrl();
    }
Get the workers's url that accepts requests to its REST endpoint.

@return the worker's url
connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/WorkerHandle.java