Class ElasticsearchConsumerConfiguration
java.lang.Object
org.springframework.cloud.fn.consumer.elasticsearch.ElasticsearchConsumerConfiguration
@Configuration
@EnableConfigurationProperties(ElasticsearchConsumerProperties.class)
public class ElasticsearchConsumerConfiguration
extends Object
- Author:
- Soby Chacko, Andrea Montemaggio, Corneil du Plessis
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionindexingHandler
(co.elastic.clients.elasticsearch.ElasticsearchClient elasticsearchClient, ElasticsearchConsumerProperties consumerProperties)
-
Field Details
-
INDEX_ID_HEADER
Message header for the Index id.- See Also:
-
INDEX_NAME_HEADER
Message header for the Index name.- See Also:
-
-
Constructor Details
-
ElasticsearchConsumerConfiguration
public ElasticsearchConsumerConfiguration()
-
-
Method Details
-
indexingHandler
@Bean public MessageHandler indexingHandler(co.elastic.clients.elasticsearch.ElasticsearchClient elasticsearchClient, ElasticsearchConsumerProperties consumerProperties)
-