Package com.mapr.streams.listener
Class ListenerTest
java.lang.Object
com.mapr.streams.listener.ListenerTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic longstatic booleanstatic booleanstatic intstatic intstatic intstatic intstatic booleanstatic Stringstatic boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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
- 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
- Throws:
IOException
-