You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/05/26 16:53:00 UTC
[jira] [Resolved] (KAFKA-19300) AsyncConsumer#unsubscribe always timeout due to GroupAuthorizationException
[ https://issues.apache.org/jira/browse/KAFKA-19300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-19300.
------------------------------------
Resolution: Fixed
> AsyncConsumer#unsubscribe always timeout due to GroupAuthorizationException
> ---------------------------------------------------------------------------
>
> Key: KAFKA-19300
> URL: https://issues.apache.org/jira/browse/KAFKA-19300
> Project: Kafka
> Issue Type: Bug
> Components: clients
> Reporter: Chia-Ping Tsai
> Assignee: Nick Guo
> Priority: Major
> Fix For: 4.1.0
>
>
> it can be reproduced by GroupAuthorizerIntegrationTest.testConsumeUnsubscribeWithoutGroupPermission.
> The root cause is shown below.
> 1. AsyncConsumer#unsubscribe is executed
> 2. process(UnsubscribeEvent) changes the state to LEAVING
> 3. the state is changed to UNSUBSCRIBED in generating Heartbeat
> 4. the `LeaveInProgress` is skipped in transitionToFatal since the state is UNSUBSCRIBED
> The behavior is inconsistent to classic consumer
--
This message was sent by Atlassian Jira
(v8.20.10#820010)