Lianet Magrans created KAFKA-15540:
--------------------------------------
Summary: Handle heartbeat and assignment release when consumer
leaves group
Key: KAFKA-15540
URL: https://issues.apache.org/jira/browse/KAFKA-15540
Project: Kafka
Issue Type: Task
Components: clients, consumer
Reporter: Lianet Magrans
When a consumer intentionally leaves a group we should:
* release assignment (revoke partitions)
* send a last Heartbeat request with epoch -1 (or -2 if static member)
Note that the revocation involves stop fetching, committing offsets if
auto-commit enabled and invoking the onPartitionsRevoked callback.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)