Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Upon closing of the Consumer we need to revoke assignment. This involves stop fetching, committing offsets if auto-commit enabled and invoking the onPartitionsRevoked callback. 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.