kafka—报错JAAS config entry not terminated by semi-colon信息

问题

报错JAAS config entry not terminated by semi-colon信息,如图
报错信息

解决方案

查看代码中properties.sasl.jaas.config的value值为org.apache.kafka.common.security.plain.PlainLoginModule required username=\"userA\" password=\"userA@123\"少了一个;英文分号。在代码中加入这个分号,再重试即可。

posted @ 2022-04-08 14:17  Andya_net  阅读(145)  评论(0编辑  收藏  举报  来源