lucidworks / spark-solr

Tools for reading data from Solr as a Spark RDD and indexing objects from Spark into Solr using SolrJ.
Apache License 2.0
446 stars 250 forks source link

about kerberos problem #330

Open ighack opened 3 years ago

ighack commented 3 years ago

I want use string not conf file How can I do it

like kafka “sasl.jaas.config”

props.put("sasl.jaas.config", "com.sun.security.auth.module.Krb5LoginModule required keyTab=\"D:/file/jztwk.keytab\" storeKey=true useKeyTab=true serviceName=kafka principal=\"jztwk/hadoop@JOIN.COM\" ;");