[ https://issues.apache.org/jira/browse/KAFKA-15696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk True updated KAFKA-15696: ------------------------------ Fix Version/s: 3.7.0 > Revoke partitions on Consumer.close() > ------------------------------------- > > Key: KAFKA-15696 > URL: https://issues.apache.org/jira/browse/KAFKA-15696 > Project: Kafka > Issue Type: Sub-task > Components: clients, consumer > Reporter: Kirk True > Assignee: Philip Nee > Priority: Major > Labels: consumer-threading-refactor, kip-848-client-support, > kip-848-e2e, kip-848-preview > Fix For: 3.7.0 > > > 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|https://github.com/apache/kafka/pull/14406] that allows for performing > network I/O on shutdown. The new method > {{ConsumerNetworkThread.runAtClose()}} will be executed when > {{Consumer.close()}} is invoked. -- This message was sent by Atlassian Jira (v8.20.10#820010)