@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.data.elasticsearch.client.reactive.ReactiveRestClients.class,org.springframework.web.reactive.function.client.WebClient.class,reactor.netty.http.client.HttpClient.class}) @EnableConfigurationProperties(value={ElasticsearchProperties.class,ReactiveElasticsearchRestClientProperties.class,org.springframework.boot.autoconfigure.data.elasticsearch.DeprecatedReactiveElasticsearchRestClientProperties.class}) public class ReactiveElasticsearchRestClientAutoConfiguration extends Object
Auto-configuration
for Elasticsearch Reactive REST
clients.Modifier and Type | Method and Description |
---|---|
org.springframework.data.elasticsearch.client.ClientConfiguration |
clientConfiguration() |
org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient |
reactiveElasticsearchClient(org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration) |
@Bean @ConditionalOnMissingBean public org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration()
@Bean @ConditionalOnMissingBean public org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient reactiveElasticsearchClient(org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration)