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

Lianet Magrans updated KAFKA-15540:
-----------------------------------
    Labels: kip-848 kip-848-client-support  (was: )

> 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: Sub-task
>          Components: clients, consumer
>            Reporter: Lianet Magrans
>            Priority: Major
>              Labels: kip-848, kip-848-client-support
>
> 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