Class ConsumerGroupMetadata

java.lang.Object
org.apache.kafka.clients.consumer.ConsumerGroupMetadata

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

    • ConsumerGroupMetadata

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

      public ConsumerGroupMetadata​(String groupId)
  • Method Details

    • groupId

      public String groupId()
    • generationId

      public int generationId()
    • memberId

      public String memberId()
    • groupInstanceId

      public Optional<String> groupInstanceId()
    • toString

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object