I need to configure an external client for kafka, using keytab.
At the moment, there is an existing external client which authenticate in kafka using this command -Djava.security.auth.login.config=jaas.conf" in a spark-submit.
This jaas.conf file is on a local path of the client, thus leaving me confused.
The content of this jaas.conf file is just like this (with imaginary names):
Is it this deployment right? If yes, how should I configure another client?
Hello @zanteb ,
Thank you for posting your query.
While you are using with spark-submit you would require to pass the files (jass & keytab) with --files option on spark-submit just like 
While doing so, your JAAS and keytab file would be shipped to executors and Application master /Driver (incase of cluster mode)
If your external client is not spark and it is just a standalone java code (example) then you can just go ahead with passing "-Djava.security.auth.login.config=jaas.conf"" while executing the code and file can reside on the same client node