Confluent
CCDAK · Question #169
You want to connect with username and password to a secured Kafka cluster that has SSL encryption. Which properties must your client include?
The correct answer is A. security.protocol=SASL_SSL. For a secured Kafka cluster using SSL encryption with SASL authentication, you must set security.protocol=SASL_SSL and provide sasl.jaas.config with the required username and password in the correct login module format.
Security
Question
You want to connect with username and password to a secured Kafka cluster that has SSL encryption. Which properties must your client include?
Options
- Asecurity.protocol=SASL_SSL
- Bsecurity.protocol=SSL
- Csecurity.protocol=SASL_PLAINTEXT
- Dsecurity.protocol=PLAINTEXT
How the community answered
(49 responses)- A92% (45)
- B4% (2)
- C2% (1)
- D2% (1)
Explanation
For a secured Kafka cluster using SSL encryption with SASL authentication, you must set security.protocol=SASL_SSL and provide sasl.jaas.config with the required username and password in the correct login module format.
Topics
#SASL_SSL#security.protocol#authentication#encryption
Community Discussion
No community discussion yet for this question.