Class ListenerTest

java.lang.Object
com.mapr.streams.listener.ListenerTest

public class ListenerTest extends Object
  • Field Details

    • streamName

      public static 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 Details

    • ListenerTest

      public ListenerTest()
  • Method Details

    • usage

      public static void usage()
    • main

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

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

      public static boolean runTest() throws IOException
      Throws:
      IOException