public class KafkaSSLUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SSL_DISABLE_FQDN_CHECK |
Modifier and Type | Method and Description |
---|---|
static void |
addGlobalSSLParameters(Properties kafkaProps)
Adds the global keystore/truststore SSL parameters to Kafka properties
if SSL is enabled but the keystore/truststore SSL parameters
are not defined explicitly in Kafka properties.
|
static boolean |
isSSLEnabled(Properties kafkaProps) |
public static final String SSL_DISABLE_FQDN_CHECK
public static void addGlobalSSLParameters(Properties kafkaProps)
kafkaProps
- Kafka propertiespublic static boolean isSSLEnabled(Properties kafkaProps)
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.