Class ConsumerGroupMetadata
- java.lang.Object
-
- org.apache.kafka.clients.consumer.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
generationId()
java.lang.String
groupId()
java.util.Optional<java.lang.String>
groupInstanceId()
int
hashCode()
java.lang.String
memberId()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-