Class ListenerTest


  • public class ListenerTest
    extends java.lang.Object
    • Field Detail

      • streamName

        public static java.lang.String streamName
      • numTopics

        public static int numTopics
      • numPartitions

        public static int numPartitions
      • numMsgsPerPartition

        public static int numMsgsPerPartition
      • numBatches

        public static int numBatches
      • batchSleepMs

        public static long batchSleepMs
      • verifyKeys

        public static boolean verifyKeys
      • keysInOrder

        public static boolean keysInOrder
      • allowDuplicateKeys

        public static boolean allowDuplicateKeys
      • isTracingEnabled

        public static boolean isTracingEnabled
      • printProgress

        public static boolean printProgress
    • Constructor Detail

      • ListenerTest

        public ListenerTest()
    • Method Detail

      • usage

        public static void usage()
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • runStressTest

        public static boolean runStressTest​(java.lang.String stream,
                                            int nmsgs,
                                            int ntopics,
                                            int npartitions,
                                            int nbatches,
                                            long batchsleepms,
                                            boolean keysOrdered)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • runTest

        public static boolean runTest()
                               throws java.io.IOException
        Throws:
        java.io.IOException