Class UnsubscribeApplicationEvent
java.lang.Object
org.apache.kafka.clients.consumer.internals.events.ApplicationEvent
org.apache.kafka.clients.consumer.internals.events.CompletableApplicationEvent<Void>
org.apache.kafka.clients.consumer.internals.events.UnsubscribeApplicationEvent
- All Implemented Interfaces:
CompletableEvent<Void>
Application event triggered when a user calls the unsubscribe API. This will make the consumer
release all its assignments and send a heartbeat request to leave the consumer group.
This event holds a future that will complete when the invocation of callbacks to release
complete and the heartbeat to leave the group is sent out (minimal effort to send the
leave group heartbeat, without waiting for any response or considering timeouts).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.kafka.clients.consumer.internals.events.ApplicationEvent
ApplicationEvent.Type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.kafka.clients.consumer.internals.events.CompletableApplicationEvent
chain, equals, future, get, hashCode, toString, toStringBaseMethods inherited from class org.apache.kafka.clients.consumer.internals.events.ApplicationEvent
type
-
Constructor Details
-
UnsubscribeApplicationEvent
public UnsubscribeApplicationEvent()
-