Complete the code to enable SSL encryption in Kafka client configuration.
security.protocol=[1]To enable SSL encryption, the security.protocol must be set to SSL.
Complete the code to specify the location of the Kafka client's truststore file.
ssl.truststore.location=[1]The ssl.truststore.location must point to the client's truststore file, which holds trusted certificates.
Fix the error in the Kafka SSL configuration property name.
ssl.keystore.pasword=[1]The correct property name is ssl.keystore.password to specify the keystore password.
Fill both blanks to configure Kafka client SSL with keystore and truststore passwords.
ssl.keystore.password=[1] ssl.truststore.password=[2]
The keystore password is set with ssl.keystore.password and the truststore password with ssl.truststore.password.
Fill all three blanks to create a Kafka SSL configuration dictionary with protocol, keystore location, and truststore location.
config = {
'security.protocol': [1],
'ssl.keystore.location': [2],
'ssl.truststore.location': [3]
}The security.protocol must be set to 'SSL' for encryption. The keystore and truststore locations must point to the correct client files.