public String[] getHttpUrls(String urlSuffix) throws Exception {
        getHttpHosts();
        if (!httpHosts.isEmpty() && httpHosts.size() > 0) {
            String[] urls = new String[httpHosts.size()];
            for (int i = 0; i < urls.length; i++) {
                urls[i] = httpHosts.get(i) + urlSuffix;
            }
            return urls;
        }
        throw new Exception("http hosts is empty! please check hosts!");
    }
Get all http url.

@param urlSuffix
@return http url array
@throws Exception
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/es/ElasticsearchConfig.java