Class GroupMetadataUpdateEvent
java.lang.Object
org.apache.kafka.clients.consumer.internals.events.BackgroundEvent
org.apache.kafka.clients.consumer.internals.events.GroupMetadataUpdateEvent
This event is sent by the
consumer's network thread to the application thread
so that when the user calls the Consumer.groupMetadata() API, the information is up-to-date. The
information for the current state of the group member is managed on the consumer network thread and thus
requires this interplay between threads.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.kafka.clients.consumer.internals.events.BackgroundEvent
BackgroundEvent.Type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.kafka.clients.consumer.internals.events.BackgroundEvent
type
-
Constructor Details
-
GroupMetadataUpdateEvent
-
-
Method Details
-
memberEpoch
public int memberEpoch() -
memberId
-
equals
- Overrides:
equalsin classBackgroundEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classBackgroundEvent
-
toStringBase
- Overrides:
toStringBasein classBackgroundEvent
-
toString
- Overrides:
toStringin classBackgroundEvent
-