Package org.mockserver.async.security
Class KafkaSecurityProperties
java.lang.Object
org.mockserver.async.security.KafkaSecurityProperties
Utility for applying
KafkaSecurity settings to Kafka client
Properties. Each non-blank field maps to the standard Kafka
configuration key.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplySecurity(Properties props, KafkaSecurity security) Apply security settings to the given Kafka client properties.
-
Method Details
-
applySecurity
Apply security settings to the given Kafka client properties. Only non-blank fields from theKafkaSecurityare set; if security is empty or null, the properties are left unchanged (backward-compatible plaintext behaviour).- Parameters:
props- the Kafka client properties to modify in-placesecurity- the security configuration (may be null)
-