Class StreamConsumersInfo


  • public class StreamConsumersInfo
    extends Object
    This class holds information about a consumer They can be access via getters. For future purpose there is also getConsumerInfo() ()} method that returns a generic Map - in case where more info is returned from a server
    • Constructor Detail

      • StreamConsumersInfo

        public StreamConsumersInfo​(Map<String,​Object> map)
        Parameters:
        map - contains key-value pairs with consumer info
    • Method Detail

      • getName

        public String getName()
      • getIdle

        public long getIdle()
      • getPending

        public long getPending()
      • getConsumerInfo

        public Map<String,​Object> getConsumerInfo()
        Returns:
        Generic map containing all key-value pairs returned by the server