Description
Nikita opened DATAES-407 and commented
Starting from version 5.6.0 of Elasticsearch, a new Java client has been released: the Java High Level REST Client. This new client is designed to replace the TransportClient in Java applications which will be deprecated in future versions of Elasticsearch. So we must migrate our codebase from old TransportClient to new REST client.
Quotation from official documentation
We released a low-level REST client in 2016, which is based on the well known Apache HTTP client and it allows to communicate with an Elasticsearch cluster in any version using HTTP. On top of that we released the high-level REST client which is based on the low-level client but takes care of request marshalling and response un-marshalling.
Quotation from a blog post about the state of the official Elasticsearch Java clients
The Java REST client is the future for Java users of Elasticsearch. Please get involved and try out the high-level client as soon as it becomes available, as your feedback will help us to make it better faster. As soon as the REST client is feature complete and is mature enough to replace the Java API entirely, we will deprecate and finally remove the transport client and the Java API.
Reference URL: https://www.elastic.co/guide/en/elasticsearch/client/java-rest/5.6/_motivations_around_a_new_java_client.html
Issue Links:
- DATAES-495 Deprecate TransportClient support
("is depended on by") - DATAES-383 Elasticsearch transport client is unstable, switch to Elasticsearch Java ReST client
("is duplicated by") - DATAES-272 Support for other clients besides of the elastic search native client
("supersedes")
19 votes, 34 watchers