public class SolrConfig extends Object implements Serializable
Class containing Solr configuration to be made available to Storm Solr bolts. Any configuration needed in the bolts should be put in this class.
Constructor and Description |
---|
SolrConfig(String zkHostString) |
SolrConfig(String zkHostString,
int tickTupleInterval) |
SolrConfig(String zkHostString,
int tickTupleInterval,
boolean enableKerberos) |
Modifier and Type | Method and Description |
---|---|
int |
getTickTupleInterval() |
String |
getZkHostString() |
boolean |
isKerberosEnabled() |
public SolrConfig(String zkHostString)
zkHostString
- Zookeeper host string as defined in the CloudSolrClient
constructorpublic SolrConfig(String zkHostString, int tickTupleInterval)
zkHostString
- Zookeeper host string as defined in the CloudSolrClient
constructortickTupleInterval
- interval for tick tuplespublic SolrConfig(String zkHostString, int tickTupleInterval, boolean enableKerberos)
zkHostString
- Zookeeper host string as defined in the CloudSolrClient
constructortickTupleInterval
- interval for tick tuplesenableKerberos
- true to enable kerberos else falsepublic String getZkHostString()
public int getTickTupleInterval()
public boolean isKerberosEnabled()
Copyright © 2019 The Apache Software Foundation. All rights reserved.