You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Riven Sun <ri...@zoom.us.INVALID> on 2021/11/18 12:10:00 UTC

[DISCUSS] KafkaClient parameter optimization: java.security.auth.login.config

Hi Kafka devs,
I found that when KafkaClient establishes a sasl connection, if
`java.security.auth.login.config` is used and multiple LoginModules are
configured in JaasConfigFile (regardless of whether these LoginModules are
of the same type), KafkaClient will get the wrong username&password from
JaasConfigFile.  As a result, the connection authentication fails. The
communication between brokers also faces the same problem, which will cause
the entire cluster to be unable to provide external services.

For more detailed analysis, please visit Jira
https://issues.apache.org/jira/browse/KAFKA-13422

Welcome everyone to actively participate in the discussion
I would be very grateful if you can give some suggestions

Best Regards
RivenSun