在com.alibaba.datax.plugin.writer.elasticsearchwriter包下的ESClient 將.setPreemptiveAuth(new HttpHost(endpoint))注釋掉,取消身份驗證