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

Prevent misconfiguration of advertised listeners

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None

    Description

      We don't really have any protection from misconfiguration of the advertised listeners. Sometimes users will copy the config from one host to another during an upgrade. They may remember to update the broker id, but forget about the advertised listeners. It can be surprisingly difficult to detect this unless you know to look for it (e.g. you might just see a lot of NotLeaderForPartition errors as the fetchers connect to the wrong broker). It may not be totally foolproof, but it's probably enough for the common misconfiguration case to check existing brokers to see whether there are any which have already registered the advertised listener.

      Attachments

        Issue Links

          Activity

            People

              omkreddy Manikumar
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: