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?
Comment From: bclozel
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.
Comment From: spring-projects-issues
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.
Comment From: ayushKataria
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?
Comment From: wilkinsona
It's already supported. Please see https://github.com/spring-projects/spring-boot/issues/28597 to which Brian linked earlier.