public class KafkaConfigParser extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_BOOTSTRAP_SERVERS |
protected static String |
DEFAULT_ZK_SERVERS |
protected String |
zkServers |
Constructor and Description |
---|
KafkaConfigParser(Path path,
String configName) |
Modifier and Type | Method and Description |
---|---|
protected Properties |
decodeProperties(Node node) |
Properties |
getConsumerProperties() |
String |
getPrefix() |
Properties |
getProducerProperties() |
String |
getZkServers() |
protected void |
parseConfig(Node node) |
void |
setZkServers(String zkServers) |
protected static final String DEFAULT_ZK_SERVERS
protected static final String DEFAULT_BOOTSTRAP_SERVERS
public KafkaConfigParser(Path path, String configName)
protected void parseConfig(Node node)
protected Properties decodeProperties(Node node)
public String getZkServers()
public Properties getProducerProperties()
public Properties getConsumerProperties()
public void setZkServers(String zkServers)
Copyright © 2018 Nuxeo. All rights reserved.