Class UnsubscribeApplicationEvent

All Implemented Interfaces:
CompletableEvent<Void>

public class UnsubscribeApplicationEvent extends CompletableApplicationEvent<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).
  • Constructor Details

    • UnsubscribeApplicationEvent

      public UnsubscribeApplicationEvent()