Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Moving to the new Elasticsearch 8.x client #43647

Closed
ayushKataria opened this issue Jan 2, 2025 · 4 comments
Closed

Moving to the new Elasticsearch 8.x client #43647

ayushKataria opened this issue Jan 2, 2025 · 4 comments
Labels
status: duplicate A duplicate of another issue

Comments

@ayushKataria
Copy link

SpringBoot Actuator still seems to use the older Elasticsearch Rest Client, which is deprecated now, and not the new Elasticsearch Java API client for the health check. Is there any plan to move to the new client?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 2, 2025
@bclozel
Copy link
Member

bclozel commented Jan 2, 2025

Could you elaborate? Which client exactly is deprecated and in favor of what? Can you share a link?

Right now our actuator support relies on the "low level" RestClient and as far as I know it's not been deprecated?

We removed support for the "high level" rest client in #30647 several years ago in favor of ElasticsearchClient in #28597.

@bclozel bclozel added the status: waiting-for-feedback We need additional information before we can continue label Jan 2, 2025
@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Jan 9, 2025
@ayushKataria
Copy link
Author

Sorry, I think was mistaken.

While the actuator is using the Java low level client, is there any plan for support to be added for the Elasticsearch's Java API client, which replaced the "high level" client?

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue labels Jan 9, 2025
@wilkinsona
Copy link
Member

It's already supported. Please see #28597 to which Brian linked earlier.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2025
@wilkinsona wilkinsona added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged status: feedback-provided Feedback has been provided labels Jan 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants