You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When only a configuration for a ReactiveElasticsearchClient is present (we have created a subclass of AbstractReactiveElasticsearchConfiguration to configure it), the health indicator fails because it uses a default RestClient configured with localhost:9200.
Adding a non-reactive configuration (extending AbstractElasticsearchConfiguration) makes the health check succeed.
My expectation would be that the ElasticsearchRestHealthIndicator uses any rest client configured, also the reactive one.
This happens with Spring Boot 2.3.0 and spring-data-elastisearch 4.0.0.