Bird
0
0

A Kafka client config uses:

medium📝 Debug Q7 of 15
Kafka - Security
A Kafka client config uses:
security.protocol=SASL_PLAINTEXT
sasl.mechanism=GSSAPI

The client fails to authenticate. What could be a likely cause?
Asecurity.protocol should be SSL, not SASL_PLAINTEXT
BMissing Kerberos ticket or incorrect JAAS config
Csasl.mechanism GSSAPI is unsupported
DPLAINTEXT disables all authentication
Step-by-Step Solution
Solution:
  1. Step 1: Understand GSSAPI mechanism

    GSSAPI uses Kerberos for authentication, requiring valid tickets and JAAS config.
  2. Step 2: Analyze failure reasons

    Missing Kerberos ticket or misconfigured JAAS causes authentication failure; SASL_PLAINTEXT allows auth without encryption.
  3. Final Answer:

    Missing Kerberos ticket or incorrect JAAS config -> Option B
  4. Quick Check:

    GSSAPI needs Kerberos ticket and JAAS config [OK]
Quick Trick: GSSAPI requires Kerberos ticket and JAAS config [OK]
Common Mistakes:
  • Assuming SASL_PLAINTEXT disables auth
  • Confusing GSSAPI support
  • Ignoring Kerberos ticket requirement

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes