Caused by: java.lang.IllegalArgumentException: Could not find a 'KafkaClient' entry in the JAAS configuration. System property 'java.security.auth.login.config' is not set

Cunwei zhao 0 Reputation points
2023-08-31T09:31:56.3466667+00:00
Caused by: java.lang.IllegalArgumentException: Could not find a 'KafkaClient' entry in the JAAS configuration. System property 'java.security.auth.login.config' is not set 	at kafkashaded.org.apache.kafka.common.security.JaasContext.defaultContext(JaasContext.java:150) 	at kafkashaded.org.apache.kafka.common.security.JaasContext.load(JaasContext.java:103) 	at kafkashaded.org.apache.kafka.common.security.JaasContext.loadClientContext(JaasContext.java:87) 	at kafkashaded.org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:167) 	at kafkashaded.org.apache.kafka.common.network.ChannelBuilders.clientChannelBuilder(ChannelBuilders.java:81) 	at kafkashaded.org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:105) 	at kafkashaded.org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:737) 	... 78 more

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,514 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.