Thank you. The client connects to Kafka via TCP. Zookeeper is used by by Kafka only and i believe that the communication between Kafka and Zookeeper is also TCP.
When you say that on the client it is just about doing the native SSPI correctly, is that under the assumption that the server (Kafka) will also be doing SSPI? Currently Kafka is doing SASL/GSSAPI.
The way i've setup SASL on Kafka is by:
1.Creating and SPN for Kafka
2.Create a keytab for Kafka
3.Using a Jaas file like this:
Server {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab="true"
principal="some spn"
storeKey="true"
debug="true"
serviceName="kafka"
keyTab="some keytab";
};
What would i have to replace the above jaas to get the server to do SSPI? If I just use JAAS sample from:
Jaas {
waffle.jaas.WindowsLoginModule sufficient debug=false;
};
, then Kafka fails to start.