Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Upon closing of the Consumer we need to send the last GroupConsumerHeartbeatRequest with epoch = -1 to leave the group (or -2 if static member). There is a mechanism introduced in PR 14406 that allows for performing network I/O on shutdown. The new method ConsumerNetworkThread.runAtClose() will be executed when Consumer.close() is invoked.