Package org.apache.spark.kafka010
Class KafkaTokenUtil
Object
org.apache.spark.kafka010.KafkaTokenUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
static org.apache.spark.internal.Logging.LogStringContext
LogStringContext
(scala.StringContext sc) static boolean
needTokenUpdate
(Map<String, Object> params, scala.Option<org.apache.spark.kafka010.KafkaTokenClusterConf> clusterConfig) static org.slf4j.Logger
static void
org$apache$spark$internal$Logging$$log__$eq
(org.slf4j.Logger x$1) static org.apache.hadoop.io.Text
-
Constructor Details
-
KafkaTokenUtil
public KafkaTokenUtil()
-
-
Method Details
-
TOKEN_KIND
public static org.apache.hadoop.io.Text TOKEN_KIND() -
isGlobalJaasConfigurationProvided
public static boolean isGlobalJaasConfigurationProvided() -
getKeytabJaasParams
-
findMatchingTokenClusterConfig
-
getTokenJaasParams
public static String getTokenJaasParams(org.apache.spark.kafka010.KafkaTokenClusterConf clusterConf) -
needTokenUpdate
-
org$apache$spark$internal$Logging$$log_
public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_() -
org$apache$spark$internal$Logging$$log__$eq
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) -
LogStringContext
public static org.apache.spark.internal.Logging.LogStringContext LogStringContext(scala.StringContext sc)
-