[ 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)