public static void main(String [] args) throws IOException {
        List<String> configservers = new ArrayList<>();
        String tenant = "default";
        String appName = "default";
        String environment = "prod";
        String region = "default";
        String instance= "default";
        for (String arg : args) {
            configservers.add(prefix + arg + ":" + port + "/config/v2/tenant/" + tenant + "/application/" + appName + "/environment/" + environment + "/region/" + region + "/instance/" + instance + "/?recursive=true");
        }
        try (CloseableHttpClient httpClient = VespaHttpClientBuilder.custom().buildClient()) {
            System.exit(compareConfigs(listConfigs(configservers, httpClient), httpClient));
        }
    }
Tool to verify that configs across multiple config servers are the same.

@author Ulf Lilleengen
config-proxy/src/main/java/com/yahoo/vespa/config/proxy/ConfigVerification.java