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

URI scheme in "listeners" property should not be case-sensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0.0
    • 0.10.0.0
    • config

    Description

      I configured my Kafka brokers as follows:

      listeners=plaintext://kafka01:9092,ssl://kafka01:9093

      With this config, my Kafka brokers start, print out all of the config properties, and exit quietly. No errors, nothing in the log. No indication of a problem whatsoever, let alone the nature of said problem.

      Then, I changed my config as follows:
      listeners=PLAINTEXT://kafka01:9092,SSL://kafka01:9093

      Now they start and run just fine.

      Per RFC-3986:

      When a URI uses components of the generic syntax, the component
      syntax equivalence rules always apply; namely, that the scheme and
      host are case-insensitive and therefore should be normalized to
      lowercase. For example, the URI <HTTP://www.EXAMPLE.com/> is
      equivalent to <http://www.example.com/>.

      Attachments

        Activity

          People

            granthenke Grant Henke
            jakerobb Jake Robb
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: