Class ReactiveElasticsearchRestClientAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.data.elasticsearch.ReactiveElasticsearchRestClientAutoConfiguration

@AutoConfiguration @ConditionalOnClass({org.springframework.data.elasticsearch.client.reactive.ReactiveRestClients.class,org.springframework.web.reactive.function.client.WebClient.class,reactor.netty.http.client.HttpClient.class}) @EnableConfigurationProperties({ElasticsearchProperties.class,ReactiveElasticsearchRestClientProperties.class}) public class ReactiveElasticsearchRestClientAutoConfiguration extends Object
Auto-configuration for Elasticsearch Reactive REST clients.
Since:
2.2.0
Author:
Brian Clozel
  • Method Details

    • clientConfiguration

      @Bean @ConditionalOnMissingBean public org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration()
    • reactiveElasticsearchClient

      @Bean @ConditionalOnMissingBean public org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient reactiveElasticsearchClient(org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration)