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 Details

    • DEFAULT_BOOTSTRAP_SERVERS

      protected static final String DEFAULT_BOOTSTRAP_SERVERS
      See Also:
    • producerProperties

      protected Properties producerProperties
    • consumerProperties

      protected Properties consumerProperties
    • prefix

      protected String prefix
  • Constructor Details

    • KafkaConfigParser

      public KafkaConfigParser(Path path, String configName)
  • Method Details

    • parseConfig

      protected void parseConfig(Node node)
    • decodeProperties

      protected Properties decodeProperties(Node node)
    • getProducerProperties

      public Properties getProducerProperties()
    • getConsumerProperties

      public Properties getConsumerProperties()
    • getPrefix

      public String getPrefix()