You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Bolke de Bruin (JIRA)" <ji...@apache.org> on 2019/03/06 18:47:00 UTC

[jira] [Created] (KAFKA-8057) Producer (and probably consumer) retains IP address of broker instead of resolving

Bolke de Bruin created KAFKA-8057:
-------------------------------------

             Summary: Producer (and probably consumer) retains IP address of broker instead of resolving
                 Key: KAFKA-8057
                 URL: https://issues.apache.org/jira/browse/KAFKA-8057
             Project: Kafka
          Issue Type: Bug
          Components: producer 
    Affects Versions: 2.1.1
            Reporter: Bolke de Bruin


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.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)