Package com.linkedin.venice.utils
Class KafkaSSLUtils
java.lang.Object
com.linkedin.venice.utils.KafkaSSLUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isKafkaProtocolValid
(String kafkaProtocol) static boolean
isKafkaSSLProtocol
(PubSubSecurityProtocol kafkaProtocol) static boolean
isKafkaSSLProtocol
(String kafkaProtocol) static boolean
validateAndCopyKafkaSSLConfig
(VeniceProperties veniceProperties, Properties properties) This function will extract SSL related config if Kafka SSL is enabled.
-
Constructor Details
-
KafkaSSLUtils
public KafkaSSLUtils()
-
-
Method Details
-
isKafkaProtocolValid
-
isKafkaSSLProtocol
-
isKafkaSSLProtocol
-
validateAndCopyKafkaSSLConfig
public static boolean validateAndCopyKafkaSSLConfig(VeniceProperties veniceProperties, Properties properties) This function will extract SSL related config if Kafka SSL is enabled.- Parameters:
veniceProperties
-properties
-- Returns:
- whether Kafka SSL is enabled or not
-