You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2017/09/27 18:05:00 UTC
[jira] [Resolved] (KAFKA-5369) Producer hangs on metadata fetch
from broker in security authorization related failures and no meaningful
exception is thrown
[ https://issues.apache.org/jira/browse/KAFKA-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manikumar resolved KAFKA-5369.
------------------------------
Resolution: Duplicate
Resolving this as duplicate of KAFKA-4764, KAFKA-5920
> Producer hangs on metadata fetch from broker in security authorization related failures and no meaningful exception is thrown
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-5369
> URL: https://issues.apache.org/jira/browse/KAFKA-5369
> Project: Kafka
> Issue Type: Improvement
> Components: consumer, producer
> Affects Versions: 0.10.0.0
> Reporter: Koelli Mungee
>
> Debugging security related misconfigurations becomes painful since the only symptom is a hang trying to fetch the metadata on the producer side
> at java.lang.Object.wait(Native Method)
> at org.apache.kafka.clients.Metadata.awaitUpdate(Metadata.java:129)
> at org.apache.kafka.clients.producer.KafkaProducer.waitOnMetadata(KafkaProducer.java:528)
> at org.apache.kafka.clients.producer.KafkaProducer.doSend(KafkaProducer.java:441)
> at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:430)
> at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:353)
> There are no meaningful errors on the broker side either. Enabling Djavax.net.debug=all and/or Dsun.security.krb5.debug=true is an option, however this should be improved to get a meaningful error.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)