Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kafka使用kraft模式部署,在新增ACL时报错,Caused by:java.lang.IlleguementException:Could not find a 'KafkaClient' entry in the JAAS config' is not set #1091

Closed
1 task done
JieJieNiDeAi opened this issue Jul 13, 2023 · 3 comments
Labels
type: question 相关疑问

Comments

@JieJieNiDeAi
Copy link

JieJieNiDeAi commented Jul 13, 2023

  • 我已经在 issues 搜索过相关问题了,并没有重复的。

在这里提出你的问题

问题:新增ACL时日志报错,Caused by:java.lang.IlleguementException:Could not find a 'KafkaClient' entry in the JAAS config' is not set

kafka 版本为:3.4.1 部署方式kraft模式,无zookeeper
knowStreaming版本:3.3.0
在kafka的config目录下 增加了 kafk_server_jaas.conf内容:
KafkaServer {
org.apache.kafka.common.security.plain.PlainLoginModule required serviceName="mycluer"
username="producer"
password="producerpwd";
};

KafkaClient {
org.apache.kafka.common.security.plain.PlainLoginModule required
username="producer"
password="producerpwd";
};

@ZQKC
Copy link
Collaborator

ZQKC commented Jul 17, 2023

  • 我已经在 issues 搜索过相关问题了,并没有重复的。

在这里提出你的问题

问题:新增ACL时日志报错,Caused by:java.lang.IlleguementException:Could not find a 'KafkaClient' entry in the JAAS config' is not set

kafka 版本为:3.4.1 部署方式kraft模式,无zookeeper knowStreaming版本:3.3.0 在kafka的config目录下 增加了 kafk_server_jaas.conf内容: KafkaServer { org.apache.kafka.common.security.plain.PlainLoginModule required serviceName="mycluer" username="producer" password="producerpwd"; };

KafkaClient { org.apache.kafka.common.security.plain.PlainLoginModule required username="producer" password="producerpwd"; };

KS的接入集群时,集群配置填写的内容是?

@ZQKC ZQKC added the type: question 相关疑问 label Jul 17, 2023
@JieJieNiDeAi
Copy link
Author

  • 我已经在 issues 搜索过相关问题了,并没有重复的。

在这里提出你的问题

问题:新增ACL时日志报错,Caused by:java.lang.IlleguementException:Could not find a 'KafkaClient' entry in the JAAS config' is not set
kafka 版本为:3.4.1 部署方式kraft模式,无zookeeper knowStreaming版本:3.3.0 在kafka的config目录下 增加了 kafk_server_jaas.conf内容: KafkaServer { org.apache.kafka.common.security.plain.PlainLoginModule required serviceName="mycluer" username="producer" password="producerpwd"; };
KafkaClient { org.apache.kafka.common.security.plain.PlainLoginModule required username="producer" password="producerpwd"; };

KS的接入集群时,集群配置填写的内容是?

内容如下:
{
"security.protocol":"SASL_PLAINTEXT",
"sasl.jaas.config":"org.apache.kafka.common.security.plain.PlainLoginModule required
username="producer"
password="producerpwd" ;"
}

@ZQKC
Copy link
Collaborator

ZQKC commented Aug 12, 2023

#1092 相似,无更多反馈,关闭该问题。

@ZQKC ZQKC closed this as completed Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question 相关疑问
Projects
None yet
Development

No branches or pull requests

2 participants