private String leaderUrl() {
        if (assignment == null)
            return null;
        return assignment.leaderUrl();
    }
Get the URL for the leader's REST interface, or null if we do not have the leader's URL yet.
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/DistributedHerder.java