Kafka “Login module not specified in JAAS config”
There are 2 ways to provide the JAAS configuration to the Kafka clients. Via the client property: sasl.jaas.config. In that case you set it to the actual JAAS configuration entry. For example, your configuration file becomes: bootstrap.servers=(address) zookeeper.connect=127.0.0.1:2181 zookeeper.connection.timeout.ms=6000 sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username=”(username)” password=”(password)”; security.protocol=SASL_PLAINTEXT sasl.mechanism=PLAIN group.id=(group) As you’ve already figured out, you can use –command-config … Read more