Skip to content
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

Add initial version of Serverless client #656

Merged
merged 3 commits into from
Sep 1, 2023
Merged

Add initial version of Serverless client #656

merged 3 commits into from
Sep 1, 2023

Conversation

swallez
Copy link
Member

@swallez swallez commented Sep 1, 2023

Initial version of the Java API client for the upcoming Elasticsearch Serverless.

The major difference is that Elasticsearch Serverless will abstract all infrastructure concerns from users, and as such has a reduced API surface. This new flavor of the Elasticsearch Java API client uses the same base framework and same package names as the "regular" client, but with a reduced number of APIs. It is meant for users who want to ensure their code will work on the current Elasticsearch and the upcoming Serverless flavor.

In terms of implementation, we now have to parallel java-client and java-client-serverless projects. The Java packages that are common to both are shared using symbolic links from the serverless client to the existing client. This ensures minimal disruption in the code layout and build system.

In the future, the client will be split into different modules, and the existing Maven artifact will be a parent project with dependencies on child modules.

@swallez swallez added the Category: Feature New feature label Sep 1, 2023
@swallez swallez merged commit 858f8b3 into main Sep 1, 2023
2 checks passed
@swallez swallez deleted the serverless branch September 1, 2023 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant