public class KafkaTokenUtil
extends Object
Constructor and Description |
---|
KafkaTokenUtil() |
Modifier and Type | Method and Description |
---|---|
static scala.Option<org.apache.spark.kafka010.KafkaTokenClusterConf> |
findMatchingTokenClusterConfig(SparkConf sparkConf,
String bootStrapServers) |
static String |
getKeytabJaasParams(String keyTab,
String principal,
String kerberosServiceName) |
static String |
getTokenJaasParams(org.apache.spark.kafka010.KafkaTokenClusterConf clusterConf) |
static boolean |
isGlobalJaasConfigurationProvided() |
static boolean |
needTokenUpdate(java.util.Map<String,Object> params,
scala.Option<org.apache.spark.kafka010.KafkaTokenClusterConf> clusterConfig) |
static void |
org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) |
static org.slf4j.Logger |
org$apache$spark$internal$Logging$$log_() |
static org.apache.hadoop.io.Text |
TOKEN_KIND() |
public static org.apache.hadoop.io.Text TOKEN_KIND()
public static boolean isGlobalJaasConfigurationProvided()
public static String getKeytabJaasParams(String keyTab, String principal, String kerberosServiceName)
public static scala.Option<org.apache.spark.kafka010.KafkaTokenClusterConf> findMatchingTokenClusterConfig(SparkConf sparkConf, String bootStrapServers)
public static String getTokenJaasParams(org.apache.spark.kafka010.KafkaTokenClusterConf clusterConf)
public static boolean needTokenUpdate(java.util.Map<String,Object> params, scala.Option<org.apache.spark.kafka010.KafkaTokenClusterConf> clusterConfig)
public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_()
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1)