Package org.nuxeo.lib.stream.tools
Class KafkaConfigParser
- java.lang.Object
- 
- org.nuxeo.lib.stream.tools.KafkaConfigParser
 
- 
 public class KafkaConfigParser extends Object Parse an xml file describing Kafka configurations, the format is the one used by KafkaConfigDescriptor. We can not use the Nuxeo descriptor directly because we are in a library without Nuxeo dependency.- Since:
- 9.10
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected PropertiesconsumerPropertiesprotected static StringDEFAULT_BOOTSTRAP_SERVERSprotected Stringprefixprotected PropertiesproducerProperties
 - 
Constructor SummaryConstructors Constructor Description KafkaConfigParser(Path path, String configName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PropertiesdecodeProperties(Node node)PropertiesgetConsumerProperties()StringgetPrefix()PropertiesgetProducerProperties()protected voidparseConfig(Node node)
 
- 
- 
- 
Field Detail- 
DEFAULT_BOOTSTRAP_SERVERSprotected static final String DEFAULT_BOOTSTRAP_SERVERS - See Also:
- Constant Field Values
 
 - 
producerPropertiesprotected Properties producerProperties 
 - 
consumerPropertiesprotected Properties consumerProperties 
 - 
prefixprotected String prefix 
 
- 
 - 
Method Detail- 
parseConfigprotected void parseConfig(Node node) 
 - 
decodePropertiesprotected Properties decodeProperties(Node node) 
 - 
getProducerPropertiespublic Properties getProducerProperties() 
 - 
getConsumerPropertiespublic Properties getConsumerProperties() 
 - 
getPrefixpublic String getPrefix() 
 
- 
 
-