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

Producer and consumer clients could log IP addresses for brokers to ease debugging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • consumer, producer
    • None

    Description

      Lag in DNS updates and resolution can cause connectivity problems in clients. 
      client.dns.lookup = "use_all_dns_ips"
      helps reduce the incidence of such issues, however it's still possible for DNS issues to cause real problems with clients.

      The ZK client helpfully logs IP addresses with DNS addresses. We could do the same thing in the Kafka clients, e.g.

      Group coordinator broker3.my.kafka.cluster.com/52.32.14.201:9092 (id: 3738382 rack: null) is unavailable or invalid

      Attachments

        Activity

          People

            Unassigned Unassigned
            lucasbradstreet Lucas Bradstreet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: