Complete the code to set the SASL mechanism to use SCRAM-SHA-256.
sasl.mechanism=[1]The SASL mechanism SCRAM-SHA-256 is used for secure client authentication.
Complete the code to specify the security protocol for client authentication.
security.protocol=[1]The SASL_SSL protocol combines SASL authentication with SSL encryption for secure communication.
Fix the error in the JAAS configuration string for SCRAM authentication.
sasl.jaas.config="org.apache.kafka.common.security.scram.ScramLoginModule required [1]=\"secret\" password=\"secret\";"
The JAAS config requires the keyword username to specify the username for SCRAM authentication.
Fill both blanks to configure the client to use SSL truststore and keystore.
ssl.truststore.location=[1] ssl.keystore.location=[2]
The truststore and keystore locations must point to the correct files for SSL authentication.
Fill all three blanks to complete the SASL SCRAM client configuration.
sasl.mechanism=[1] sasl.jaas.config="org.apache.kafka.common.security.scram.ScramLoginModule required username=\"[2]\" password=\"[3]\";"
This configuration sets the SASL mechanism to SCRAM-SHA-256 with username alice and her password.