Class ConsumerGroupMetadata


  • public class ConsumerGroupMetadata
    extends java.lang.Object
    A metadata struct containing the consumer group information. Note: Any change to this class is considered public and requires a KIP.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsumerGroupMetadata​(java.lang.String groupId)  
      ConsumerGroupMetadata​(java.lang.String groupId, int generationId, java.lang.String memberId, java.util.Optional<java.lang.String> groupInstanceId)  
    • Constructor Detail

      • ConsumerGroupMetadata

        public ConsumerGroupMetadata​(java.lang.String groupId,
                                     int generationId,
                                     java.lang.String memberId,
                                     java.util.Optional<java.lang.String> groupInstanceId)
      • ConsumerGroupMetadata

        public ConsumerGroupMetadata​(java.lang.String groupId)
    • Method Detail

      • groupId

        public java.lang.String groupId()
      • generationId

        public int generationId()
      • memberId

        public java.lang.String memberId()
      • groupInstanceId

        public java.util.Optional<java.lang.String> groupInstanceId()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object