You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "oshione gabriel esiemokhai (Jira)" <ji...@apache.org> on 2025/10/28 04:16:00 UTC

[jira] [Commented] (KAFKA-19394) Failure in ConsumerNetworkThread.initializeResources() can cause hangs on AsyncKafkaConsumer.close()

    [ https://issues.apache.org/jira/browse/KAFKA-19394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033417#comment-18033417 ] 

oshione gabriel esiemokhai commented on KAFKA-19394:
----------------------------------------------------

Can you please provide more details on this error?.

> Failure in ConsumerNetworkThread.initializeResources() can cause hangs on AsyncKafkaConsumer.close()
> ----------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-19394
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19394
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients, consumer
>    Affects Versions: 4.0.0
>            Reporter: Kirk True
>            Assignee: Kirk True
>            Priority: Major
>              Labels: consumer-threading-refactor
>
> If {{ConsumerNetworkThread.initializeResources()}} fails when attempting to create resources (e.g. a {{NetworkClient}} can't be created because the SASL login failed), it will "clean up" but not "close". This means that when the application thread adds (and waits on) events, it will always time out.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)