Package org.mockserver.async.security
Class KafkaSecurity
java.lang.Object
org.mockserver.async.security.KafkaSecurity
Immutable carrier for Kafka security configuration (SASL and/or SSL).
All fields are optional; when all are null or blank,
isEmpty()
returns true and no security properties are applied to the
Kafka client.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic KafkaSecurity.Builderbuilder()static KafkaSecurityempty()Returns a new empty (no-op) security instance.booleanisEmpty()Returnstruewhen no security fields are set (all null or blank).
-
Method Details
-
getSecurityProtocol
-
getSaslMechanism
-
getSaslJaasConfig
-
getSslTruststoreLocation
-
getSslTruststorePassword
-
getSslKeystoreLocation
-
getSslKeystorePassword
-
getSslKeyPassword
-
isEmpty
public boolean isEmpty()Returnstruewhen no security fields are set (all null or blank). -
empty
Returns a new empty (no-op) security instance. -
builder
-