22.06.2018 - PlainLoginModule required \ username="USERNAME" For an earlier Kafka client, you must use a JAAS configuration file to specify the credentials. This mechanism is security.protocol=SASL_SSL sasl.mechanism=PLAIN .