The only authentication Kafka support is
TLS - Kafka server only communicates with clients having certificate that it trust, basically using TLS for mutual authentication
SASL using Kerberos - If you are already using Kerberos server like Active Directory you can use it for setting up authentication or set up your own Kerberos server.
http://kafka.apache.org/documentation.html#security_ssl
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…