You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Edoardo Comar (JIRA)" <ji...@apache.org> on 2018/02/01 11:30:00 UTC
[jira] [Commented] (KAFKA-6516) KafkaProducer retries indefinitely
to authenticate on SaslAuthenticationException
[ 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)