public void setEsConfig(ElasticsearchConfig config) {
        this.esConfig = config;
    }
Get Elasticsearch configuration.

@param config Elasticsearch's configuration
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/es/ElasticsearchApi.java