@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=ReactiveElasticsearchRestClientProperties.class) public class ReactiveElasticsearchRestClientAutoConfiguration extends Object
Auto-configuration
for Elasticsearch Reactive REST
clients.Constructor and Description |
---|
ReactiveElasticsearchRestClientAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.elasticsearch.client.ClientConfiguration |
clientConfiguration(ReactiveElasticsearchRestClientProperties properties) |
org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient |
reactiveElasticsearchClient(org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration) |
public ReactiveElasticsearchRestClientAutoConfiguration()
@Bean @ConditionalOnMissingBean public org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration(ReactiveElasticsearchRestClientProperties properties)
@Bean @ConditionalOnMissingBean public org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient reactiveElasticsearchClient(org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration)