Open ighack opened 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\" ;");
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\" ;");