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

Producer (and probably consumer) retains IP address of broker instead of resolving

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.0
    • 2.1.1
    • producer
    • None

    Description

      Producers, contrary to brokers, retain the IPs of brokers instead of resolving the Hostname again.  This stops producers from connecting to the brokers.

      To reproduce have a producer connect to brokers, bring down the brokers and bring them up with different ip but with same hostname (DNS updated, eg. On kubernetes) Producers will start logging “Broker maybe down”, but will never reconnect as the IP address in the log message will keep on referencing the old IP.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bolke Bolke de Bruin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: