Class MarlinProducerMultiThreadPerformance

java.lang.Object
com.mapr.streams.producer.MarlinProducerMultiThreadPerformance

public class MarlinProducerMultiThreadPerformance 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
    • multipleFlushers

      public static boolean multipleFlushers
    • printProgress

      public static boolean printProgress
    • totalNumMsgs

      public static int totalNumMsgs
    • producer

      public static org.apache.kafka.clients.producer.KafkaProducer producer
    • MSG_VALUE_LENGTH

      public static final int MSG_VALUE_LENGTH
      See Also:
  • Constructor Details

    • MarlinProducerMultiThreadPerformance

      public MarlinProducerMultiThreadPerformance()
  • Method Details

    • usage

      public static void usage()
    • main

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

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

      public static boolean runTest()