@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient.class) @ConditionalOnEnabledHealthIndicator(value="elasticsearch") @AutoConfigureAfter(value=ReactiveElasticsearchRestClientAutoConfiguration.class) public class ElasticSearchReactiveHealthContributorAutoConfiguration extends CompositeReactiveHealthContributorConfiguration<ElasticsearchReactiveHealthIndicator,org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient>
Constructor and Description |
---|
ElasticSearchReactiveHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReactiveHealthContributor |
elasticsearchHealthContributor(Map<String,org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient> clients) |
createComposite
createContributor, createIndicator
public ElasticSearchReactiveHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"elasticsearchHealthIndicator","elasticsearchHealthContributor"}) public ReactiveHealthContributor elasticsearchHealthContributor(Map<String,org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient> clients)