kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edoardo Comar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-6516) KafkaProducer retries indefinitely to authenticate on SaslAuthenticationException
Date Thu, 01 Feb 2018 11:30:00 GMT

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

Edoardo Comar commented on KAFKA-6516:
--------------------------------------

Please note that rather than the exception being thrown synchronously from send(), the behaviour
I expected was that the sender thread stopped. 

> KafkaProducer retries indefinitely to authenticate on SaslAuthenticationException
> ---------------------------------------------------------------------------------
>
>                 Key: KAFKA-6516
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6516
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 1.0.0
>            Reporter: Edoardo Comar
>            Priority: Major
>
> Even after https://issues.apache.org/jira/browse/KAFKA-5854
> the producer's (background) polling thread keeps retrying to authenticate.
> if the future returned by KafkaProducer.send is not resolved.
> The current test
> {{org.apache.kafka.common.security.authenticator.ClientAuthenticationFailureTest.testProducerWithInvalidCredentials()}}
> passes because it relies on the future being resolved.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message