Class ControlMessageDumper

java.lang.Object
com.linkedin.venice.ControlMessageDumper

public class ControlMessageDumper extends Object
  • Constructor Details

    • ControlMessageDumper

      public ControlMessageDumper(PubSubConsumerAdapter consumer, String topic, int partitionNumber, int startingOffset, int messageCount)
  • Method Details

    • fetch

      public ControlMessageDumper fetch()
      1. Fetch up to messageCount messages in this partition. 2. Discard non-control messages. 3. Split into different groups based on producer
    • display

      public int display()
      Display control messages from each producer