Package com.linkedin.venice
Class ControlMessageDumper
java.lang.Object
com.linkedin.venice.ControlMessageDumper
-
Constructor Summary
ConstructorDescriptionControlMessageDumper
(PubSubConsumerAdapter consumer, String topic, int partitionNumber, int startingOffset, int messageCount) -
Method Summary
-
Constructor Details
-
ControlMessageDumper
public ControlMessageDumper(PubSubConsumerAdapter consumer, String topic, int partitionNumber, int startingOffset, int messageCount)
-
-
Method Details
-
fetch
1. Fetch up tomessageCount
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
-