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

Rest advertised name is required while setting the listener to 0.0.0.0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • None
    • connect
    • None

    Description

      https://cwiki.apache.org/confluence/display/KAFKA/KIP-208%3A+Add+SSL+support+to+Kafka+Connect+REST+interface added the support for SSL and as part of it introduced a listener config. Prior to the change, one could specify not specify a `host.name` config and they would bind to default interface and this worked well for not requiring to configure the `rest.advertised.host.name` explicitly. If one has to use https they could still bind to default interface by not specifying the hostname but when you use 0.0.0.0 as the host in listeners, you are required to set the advertised.host.name explicitly. Connect framework can  either use InetAddress.getLocalHost().getCanonicalHostName() as the default value or use the above only when the listeners host is 0.0.0.0. This might be an useful improvement while configuring connectors to listen on all network interfaces.

      Attachments

        Activity

          People

            mageshn Magesh kumar Nandakumar
            mageshn Magesh kumar Nandakumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: