You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2025/04/26 01:31:00 UTC
[jira] [Updated] (KAFKA-19206) ConsumerNetworkThread.cleanup() throws NullPointerException if initializeResources() failed
[ https://issues.apache.org/jira/browse/KAFKA-19206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk True updated KAFKA-19206:
------------------------------
Summary: ConsumerNetworkThread.cleanup() throws NullPointerException if initializeResources() failed (was: AsyncKafkaConsumer hangs when NetworkClient fails authentication)
> ConsumerNetworkThread.cleanup() throws NullPointerException if initializeResources() failed
> -------------------------------------------------------------------------------------------
>
> Key: KAFKA-19206
> URL: https://issues.apache.org/jira/browse/KAFKA-19206
> Project: Kafka
> Issue Type: Bug
> Components: clients, consumer
> Affects Versions: 4.0.0
> Reporter: Kirk True
> Assignee: Kirk True
> Priority: Major
> Labels: kip-848-client-support
> Fix For: 4.1.0
>
>
> The ConsumerNetworkThread creates a new NetworkClient, which connects to and authenticates against a broker. If the authentication fails, the NetworkClient throws an error, causing the AsyncKafkaConsumer to close. During the consumer close process the ConsumerNetworkThread is closed, but it throws a NullPointerException when it attempts to use the requestManagers and/or networkClientDelegate objects.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)