WenDing-Y commented on code in PR #9161:
URL: https://github.com/apache/seatunnel/pull/9161#discussion_r2059486856


##########
seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/source/ElasticsearchSourceSplitEnumerator.java:
##########
@@ -80,9 +87,7 @@ public ElasticsearchSourceSplitEnumerator(
     }
 
     @Override
-    public void open() {
-        esRestClient = EsRestClient.createInstance(connConfig);
-    }

Review Comment:
   The current issue requires Elasticsearch (ES) to fix its dependency on 
org.apache.httpcomponents. After the major upgrade of httpcomponents to version 
5.0+, it has abandoned the 4.x versions, and even the package names have been 
changed. Getting ES to upgrade to httpcomponents 5.x may take an uncertain 
amount of time,This approach requires minimal changes while effectively fixing 
the issue, making it an excellent solution.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to