Package com.linkedin.venice
Class ControlMessageDumper
- java.lang.Object
-
- com.linkedin.venice.ControlMessageDumper
-
public class ControlMessageDumper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ControlMessageDumper(PubSubConsumerAdapter consumer, java.lang.String topic, int partitionNumber, int startingOffset, int messageCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
display()
Display control messages from each producerControlMessageDumper
fetch()
1.
-
-
-
Constructor Detail
-
ControlMessageDumper
public ControlMessageDumper(PubSubConsumerAdapter consumer, java.lang.String topic, int partitionNumber, int startingOffset, int messageCount)
-
-
Method Detail
-
fetch
public ControlMessageDumper 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
-
-