Class DemoConsumer


  • public class DemoConsumer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DemoConsumer()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void consumeTransactions()  
      static void main​(java.lang.String[] args)  
      static void usage()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • streamNames

        public static java.util.List<java.lang.String> streamNames
      • consumer

        public static org.apache.kafka.clients.consumer.KafkaConsumer consumer
      • consumerConfig

        public static java.lang.String consumerConfig
      • consumerType

        public static java.lang.String consumerType
      • waitBetweenScr

        public static int waitBetweenScr
    • Constructor Detail

      • DemoConsumer

        public DemoConsumer()
    • Method Detail

      • usage

        public static void usage()
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • consumeTransactions

        public static void consumeTransactions()