Class ListenerV10

java.lang.Object
com.mapr.streams.listener.Listener
com.mapr.streams.listener.ListenerV10
All Implemented Interfaces:
Runnable

public class ListenerV10 extends Listener
  • Constructor Details

    • ListenerV10

      public ListenerV10(String streamName, int numStreams, int numTopics, int numSlowTopics, int numPartitions, int numExpectedMsgs, boolean verifyKeys, boolean keysInOrder, boolean allowDuplicateKeys, boolean isTracingEnabled, boolean printStats, Listener.TED_ACTION action, boolean topicSubscription, String groupId, int maxPartitionFetchSize, int maxFetchSize, int maxPollRecords, boolean verifyHdrKey, boolean verifyHdrVal)
  • Method Details

    • runTestWithPollOptions

      public static boolean runTestWithPollOptions(String streamName, int numStreams, int numTopics, int numSlowTopics, int numPartitions, int numExpectedMsgs, int maxPartitionFetchSize, int maxFetchSize, int maxPollRecords, boolean verifyHdrKey, boolean verifyHdrVal) throws IOException
      Throws:
      IOException
    • getHeadersSize

      protected long getHeadersSize(org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]> rec) throws IOException
      Overrides:
      getHeadersSize in class Listener
      Throws:
      IOException
    • verifyHeaders

      protected void verifyHeaders(org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]> rec) throws IOException
      Overrides:
      verifyHeaders in class Listener
      Throws:
      IOException