org.apache.kafka.common.KafkaException:javax.security.auth.login.LoginException

时间:2019-03-29 07:04:06

标签: java apache-kafka spring-kafka

“ Kafka”存在以下问题。

所有文件和权限均正确。

Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but the Kafka client code does not currently support obtaining a password from the user. not available to garner  authentication information from the user
    at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:86)
    at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:70)
    at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:83)
    at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:277)
    ... 50 common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but the Kafka client code does not currently support obtaining a password from the user. not available to garner  authentication information from the user

0 个答案:

没有答案