public class EsConfig extends Object implements Serializable
| Constructor and Description |
|---|
EsConfig(String clusterName,
String[] nodes)
EsConfig Constructor to be used in EsIndexBolt, EsPercolateBolt and EsStateFactory
|
EsConfig(String clusterName,
String[] nodes,
Map<String,String> additionalConfiguration)
EsConfig Constructor to be used in EsIndexBolt, EsPercolateBolt and EsStateFactory
|
public EsConfig(String clusterName, String[] nodes)
EsConfig Constructor to be used in EsIndexBolt, EsPercolateBolt and EsStateFactory
clusterName - Elasticsearch cluster namenodes - Elasticsearch addresses in host:port pattern string arrayIllegalArgumentException - if nodes are emptyNullPointerException - on any of the fields being nullpublic EsConfig(String clusterName, String[] nodes, Map<String,String> additionalConfiguration)
EsConfig Constructor to be used in EsIndexBolt, EsPercolateBolt and EsStateFactory
clusterName - Elasticsearch cluster namenodes - Elasticsearch addresses in host:port pattern string arrayadditionalConfiguration - Additional Elasticsearch configurationIllegalArgumentException - if nodes are emptyNullPointerException - on any of the fields being nullCopyright © 2018 The Apache Software Foundation. All Rights Reserved.