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)
Constructor.
|
SolrConfig(String zkHostString,
int tickTupleInterval)
Constructor.
|
SolrConfig(String zkHostString,
int tickTupleInterval,
boolean enableKerberos)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getTickTupleInterval() |
String |
getZkHostString() |
boolean |
isKerberosEnabled() |
public SolrConfig(String zkHostString)
Constructor.
zkHostString
- Zookeeper host string as defined in the CloudSolrClient
constructorpublic SolrConfig(String zkHostString, int tickTupleInterval)
Constructor.
zkHostString
- Zookeeper host string as defined in the CloudSolrClient
constructortickTupleInterval
- interval for tick tuplespublic SolrConfig(String zkHostString, int tickTupleInterval, boolean enableKerberos)
Constructor.
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 © 2022 The Apache Software Foundation. All rights reserved.