Class ElasticsearchConsumerProperties
java.lang.Object
org.springframework.cloud.fn.consumer.elasticsearch.ElasticsearchConsumerProperties
@ConfigurationProperties("elasticsearch.consumer")
public class ElasticsearchConsumerProperties
extends Object
- Author:
- Soby Chacko, Andrea Montemaggio
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
long
getId()
getIndex()
long
boolean
isAsync()
void
setAsync
(boolean async) void
setBatchSize
(int batchSize) void
setGroupTimeout
(long groupTimeout) void
setId
(Expression id) void
void
setRouting
(String routing) void
setTimeoutSeconds
(long timeoutSeconds)
-
Constructor Details
-
ElasticsearchConsumerProperties
public ElasticsearchConsumerProperties()
-
-
Method Details
-
getId
-
setId
-
getIndex
-
setIndex
-
getRouting
-
setRouting
-
getTimeoutSeconds
public long getTimeoutSeconds() -
setTimeoutSeconds
public void setTimeoutSeconds(long timeoutSeconds) -
isAsync
public boolean isAsync() -
setAsync
public void setAsync(boolean async) -
getBatchSize
public int getBatchSize() -
setBatchSize
public void setBatchSize(int batchSize) -
getGroupTimeout
public long getGroupTimeout() -
setGroupTimeout
public void setGroupTimeout(long groupTimeout)
-