Kirk True created KAFKA-19206: --------------------------------- Summary: AsyncKafkaConsumer hangs when NetworkClient fails authentication 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 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)