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 20:26:00 UTC

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

     [ https://issues.apache.org/jira/browse/KAFKA-8057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bolke de Bruin resolved KAFKA-8057.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.1

> 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.0
>            Reporter: Bolke de Bruin
>            Priority: Critical
>             Fix For: 2.1.1
>
>
> 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)