public void setHttpHosts(HttpHost[] httpHosts) {
        this.httpHosts = httpHosts;
    }
set httpHosts

@param httpHosts the httpHosts to set
inlong-sort-standalone/sort-standalone-source/src/main/java/org/apache/inlong/sort/standalone/sink/elasticsearch/EsSinkContext.java