Richard Wise created KAFKA-9272:
-----------------------------------

             Summary: Error when trying to connect to SSL port using PLAINTEXT 
is very confusing
                 Key: KAFKA-9272
                 URL: https://issues.apache.org/jira/browse/KAFKA-9272
             Project: Kafka
          Issue Type: Bug
          Components: clients
    Affects Versions: 2.2.1
            Reporter: Richard Wise


I accidentally forgot to set `security.protocol` to SSL when connecting to an 
SSL port, so connected via PLAINTEXT. I expected the Kafka client to fail 
immediately with a message about mismatched security protocols, but instead it 
failed saying that the topic does not exist and auto-creation was not enabled.

This error message is very misleading and leads developers to think that the 
problem is the server configuration, not the client network security settings.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to