Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Kalpesh
, 1 year ago
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. Make sure -Djava.security.auth.login.config property passed to JVM and the client is configured to
via kropponline.de by Unknown author, 1 year ago
via mapr.com by Unknown author, 1 year ago
Unable to obtain password from user
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. Make sure -Djava.security.auth.login.config property passed to JVM and the client is configured to use a ticket cache (using the JAAS configuration setting 'useTicketCache=true)'. Make sure you are using FQDN of the Kafka broker you are trying to connect to. not available to garner  authentication information from the user	at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:899)	at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:719)	at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:584)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)	at javax.security.auth.login.LoginContext.login(LoginContext.java:595)	at org.apache.kafka.common.security.kerberos.Login.login(Login.java:298)	at org.apache.kafka.common.security.kerberos.Login.(Login.java:104)	at kafka.common.security.LoginManager$.init(LoginManager.scala:36)	at kafka.producer.Producer.(Producer.scala:50)	at kafka.producer.Producer.(Producer.scala:73)	at kafka.javaapi.producer.Producer.(Producer.scala:26)	at com.ct.test.kafka.TestProducer.main(TestProducer.java:51)