Class 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
    • Constructor Detail

      • KafkaConfigParser

        public KafkaConfigParser​(Path path,
                                 String configName)
    • Method Detail

      • parseConfig

        protected void parseConfig​(Node node)
      • decodeProperties

        protected Properties decodeProperties​(Node node)
      • getProducerProperties

        public Properties getProducerProperties()
      • getConsumerProperties

        public Properties getConsumerProperties()
      • getPrefix

        public String getPrefix()