public class KafkaConfigParser extends Object
Modifier and Type | Field and Description |
---|---|
protected Properties |
consumerProperties |
protected static String |
DEFAULT_BOOTSTRAP_SERVERS |
protected String |
prefix |
protected Properties |
producerProperties |
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() |
protected void |
parseConfig(Node node) |
protected static final String DEFAULT_BOOTSTRAP_SERVERS
protected Properties producerProperties
protected Properties consumerProperties
public KafkaConfigParser(Path path, String configName)
protected void parseConfig(Node node)
protected Properties decodeProperties(Node node)
public Properties getProducerProperties()
public Properties getConsumerProperties()
Copyright © 2018 Nuxeo. All rights reserved.