Kafka - Security
Consider the following Kafka client configuration snippet:
What will be the output of the print statement?
props.put("security.protocol", "SASL_PLAINTEXT");
props.put("sasl.mechanism", "PLAIN");
props.put("sasl.jaas.config", "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"admin\" password=\"admin123\";");
System.out.println(props.get("security.protocol"));What will be the output of the print statement?
