Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9272

Error when trying to connect to SSL port using PLAINTEXT is very confusing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.1
    • None
    • clients
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Woodz Richard Wise
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: