Class ControlMessageDumper


  • public class ControlMessageDumper
    extends java.lang.Object
    • 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 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