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

Only bind to the interface declared in the 'hostname' config property

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: config, core
    • Labels:
      None

      Description

      At the moment, Kafka always binds to all interfaces (0.0.0.0) which isn't ideal on some environments, even if the 'hostname' config parameter is set.

      Kafka should only bind to the interface set in the 'hostname' parameter - which defaults to InetAddress.getLocalHost.getHostAddress

        Attachments

        1. kafka-675.patch
          4 kB
          Matan
        2. kafka-675-updated.patch
          7 kB
          Matan
        3. KAFKA-675-v3.patch
          9 kB
          Jay Kreps

          Activity

            People

            • Assignee:
              jkreps Jay Kreps
              Reporter:
              matan_a Matan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: