jaas.conf文件中的keytab路径
本地运行项目jaas.conf中的用的keytab用的本地路径可以正常运行。打包丢到服务器上,这个路径按理应该改成服务器上的文件路径,但是不起作用,读取不到,报错。
文件配置
KafkaClient{
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
storeKey=true
keyTab="/apps/kdc_keytab/kafka.keytab"
principal="kafka@TEST.COM";
};
Client{
com.sun.security.auth.module.Krb5LoginModule required
useTicketCache=false
doNotPrompt=true
useKeyTab=true
keyTab="/apps/kdc_keytab/kafka.keytab"
principal="kafka@TEST.COM"
debug=true;
};
报错信息
org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.kafka.config.internalKafkaListenerEndpointRegistry'; nested exception is org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:893)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:163)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
at com.tohi.digitization.coal.pred.DigitizationCoalPredApplication.main(DigitizationCoalPredApplication.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:805)
at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:617)
at)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactoryat org.springframework.kafka)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory.java:164)
at)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory)
at org.springframework.kafka)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory.java:132)
at org.springframework)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createConsumer(DefaultKafkaConsumerFactory.java:109)
at org.springframework.kafka.listener.AbstractMessageListenerContainer.checkTopics(AbstractMessageListenerContainer.java:284)
at org.springframework.kafka.listener.ConcurrentMessageListenerContainer.doStart)
at org.springframework.kafka.listener.ConcurrentMessageListenerContainer.doStart(ConcurrentMessageListenerContainer.java:136)
at org.springframework.kafka.listener)
at org.springframework.kafka.listener.AbstractMessageListenerContainer)
at org.springframework.kafka.listener.AbstractMessageListenerContainer.start(AbstractMessageListenerContainer.java:276)
at)
at org.springframework.kafka.config.KafkaListenerEndpointRegistry.startIfNecessary)
at org.springframework.kafka.config.KafkaListenerEndpointRegistry.startIfNecessary(KafkaListenerEndpointRegistry.java)
at org.springframework.kafka)
at org.springframework.kafka.config)
at org.springframework.kafka.config.KafkaListenerEndpointRegistry.startIfNecessary(KafkaListenerEndpointRegistry.java:306)
at org.springframework.kafka.config.KafkaListenerEndpointRegistry.start(KafkaListenerEndpointRegistry.java:255)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
... 22 common frames omitted
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 common frames omitted
Caused by: org.apache common frames omitted
Caused by common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException frames common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but therames omittedted
Causedg.apache common frames omitted
Caused by: org.apache.kafka.common.KafkaExceptionmmon frames omitted common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not login: the client is being asked for a common framestted
Causedorg common frames omitted
Caused by: org common frames omitted
Caused by: org.apache common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth common frames omitted
Caused by: org common frames omitted
Caused by: org.apache common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not frames omitted
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 common frames omitted
Caused byapachefka.commonKafkaExceptioncommon frames omitted
Caused by: org.apache common frames omitted
Caused by: org common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security common frames omitted
Caused by: org.apache common frames omitted
Caused common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could frames common frames omitted
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 common frames omitted
Caused by: org.apache.kafka.common.KafkaExceptionmmon frames common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not login: the client is being asked for frames omitted
Caused by common frames omitted
Caused by: org.apache common frames omitted
Caused by: org.apache common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused bycommon frames omitted
Caused by: org.apache common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not common framested
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 common framess omittedorgfka.commonjavax common frames omitted
Caused by: org common frames omitted
Caused by: org.apache common frames omitted
Caused by: org.apache common frames omitted
Caused by: org.apache common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not login: the client ison frames
Caused common frames omitted
Caused by: org.apache.kafka.commonmmon frames common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not login: the client is being asked for common frames omittedorg common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused common frames omitted
Caused by common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could common framested
Caused common frames omitted
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 common framess omittedorgfka.commonjavax common frames omitted
Caused by: org.apache common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth common frames omitted
Caused by: org common frames omitted
Caused by: org.apache common frames omitted
Caused by: org common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not frames common frames omitted
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 clientrames omittedted
Causedused by by common frames omitted
Caused by: org.apache.kafka.common.KafkaExceptionmmon frames common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not login: the client is being asked for a common frames omitted
Caused by: org common frames omitted
Caused by: org.apache common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but frames common frames omitted
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 therames omittedorg.apache.kafkaKafkaExceptionjavax common frames omitted
Caused by: org.apache common frames omitted
Caused by: org common frames omitted
Caused by: org.apache common frames omitted
Caused by common frames omitted
Caused by: org common frames omitted
Caused by: org common frames omitted
Caused by: org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException common framested
Caused common frames omitted
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:153)
at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:140)
at org.apache.kafka.common.network.ChannelBuilders.clientChannelBuilder(ChannelBuilders.java:65)
at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtilsg.apachentUtils.createChannelBuilder)
at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:108)
at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:718)
... 32 common frames omitted
Caused by: javax.security.auth.login.LoginException: Couldn frames common frames omitted
Caused by: javax.security common frames omitted
Caused by: javaxcommon frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the common frames common frames omitted
Caused by: javaxcommon frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not loginn frames common frames omitted
Caused common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login commones omitted common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for a passwordtted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: then frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could noted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: then frames common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the clientn frameses omitted
Caused by: javax.security.auth.login common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: thetted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the common frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, buttted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the clientn frames common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: themitted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: then frames common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client common frames common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client isn frames common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for aed
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client isn frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: theitted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: then frames common frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the commontted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being askedn frames common frames omitted
Caused by common frames omitted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client frames common frames omitted
Caused by: javax.security.auth.login.LoginException: Couldn frames common frames omitted
Caused by common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is common frames common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is beingn frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client commonted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the clientn frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not loginn frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the commonted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is beingn frames common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is beingd
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for ated
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: then frameses omitted
Caused by: javax.security.auth.login common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the common frames omitted
Caused by: javax.security.auth.login.LoginException: Could common frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: then frameses omitted
Caused by: javax.security.auth.login common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for a common frames omitted
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the commones omitted 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 common frames common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but the
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but theed
Caused common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: then frames common frames omitted
Caused by: javax common frames omitted
Caused by: javax.security common frames omitted
Caused by: javax.security.auth.login.LoginException: Could not login: the client is being common frames common frames omitted
Caused by: javax 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
at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:940)
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:760intRegistry'; nested exception is org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:893)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:163)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
at com.tohi.digitization.coal.pred.DigitizationCoalPredApplication.main(DigitizationCoalPredApplication.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:805)
at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:617)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory.java:164)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory.java:132)
at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createConsumer(DefaultKafkaConsumerFactory.java:109)
at org.springframework.kafka.listener.AbstractMessageListenerContainer.checkTopics(AbstractMessageListenerContainer.java:284)
at org.springframework.kafka.listener.ConcurrentMessageListenerContainer.doStart(ConcurrentMessageListenerContainer.java:136)
at org.springframework.kafka.listener.AbstractMessageListenerContainer.start(AbstractMessageListenerContainer.java:276)
at org.springframework.kafka.config.KafkaListenerEndpointRegistry.startIfNecessary(KafkaListenerEndpointRegistry.java:306)
at org.springframework.kafka.config.KafkaListenerEndpointRegistry.start(KafkaListenerEndpointRegistry.java:255)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
... 22 common frames omitted
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:153)
at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:140)
at org.apache.kafka.common.network.ChannelBuilders.clientChannelBuilder(ChannelBuilders.java:65)
at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:108)
at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:718)
... 32 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
at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:940)
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:760)
at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:617)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:587)
at org.apache.kafka.common.security.authenticator.AbstractLogin.login(AbstractLogin.java:60)
at org.apache.kafka.common.security.kerberos.KerberosLogin.login(KerberosLogin.java:103)
at org.apache.kafka.common.security.authenticator.LoginManager.<init>(LoginManager.java:61)
at org.apache.kafka.common.security.authenticator.LoginManager.acquireLoginManager(LoginManager.java:111)
at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:142)
... 36 common frames omitted
你的答案