[ 
https://issues.apache.org/jira/browse/KAFKA-15540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yi Ding updated KAFKA-15540:
----------------------------
    Labels: kip-848 kip-848-client-support kip-848-e2e kip-848-preview  (was: 
kip-848 kip-848-client-support kip-848-preview)

> Handle heartbeat and revocation when consumer leaves group
> ----------------------------------------------------------
>
>                 Key: KAFKA-15540
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15540
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients, consumer
>            Reporter: Lianet Magrans
>            Priority: Major
>              Labels: kip-848, kip-848-client-support, kip-848-e2e, 
> kip-848-preview
>
> 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)

Reply via email to