-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Prepare for the "next generation" clients #1853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is there any movement on this last 6 months? Are we closer to a goal of having opensearch as one of many clients supported? Or are we perhaps farther away, and more likely to see someone else start a spring-data-opensearch integration? |
Currently the focus is on adding the new Elasticsearch client to Spring Data Elasticsearch as an alternative to the existing RHLC as this has been deprecated in Elasticsearch 7.16. Restructuring the code in order to have a clean structure in which to add additional client implementations has to wait as this means breaking changes in package structures, which we don't do on minor version updates. So the next version 4.4 will have the new Elasticsearch client available as an alternative for users to try it out, breaking changes can be introduced with version 5.0 which is planned in alignment with Spring Data 3, Spring Boot 3 and Spring 6. |
this is finished with #2196 |
Spring Data Elasticsearch needs to be changed in the near future to support new clients:
imperative code:
RestHighLevelClient
as theRestHighLevelClient
uses libraries from the Elasticsearch core that are not licensed under the Apache 2 license anymore.reactive code:
The reactive code uses code (classes) from the Elasticsearch libraries and code copied from the pre 7.11 codebase which was Apache licensed. The transport layer is implemented using Spring's
WebClient
.The currently supported clients, the
RestHighLevelClient
and theTransportClient
should not be used anymore when the new Elasticsearch client is available due to potential licensing problems.The purpose of this ticket is to prepare the internal package structure and architectural changes to enable use of the new clients as well as to document the needed changes
The text was updated successfully, but these errors were encountered: