[ https://issues.apache.org/jira/browse/KAFKA-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465965#comment-16465965 ]
Ismael Juma commented on KAFKA-4041: ------------------------------------ [~glasser], the fix in KAFKA-5473 doesn't help with all scenarios, just the session expiration one. We will need ZOOKEEPER-2184 to handle all scenarios. Reopening. > kafka unable to reconnect to zookeeper behind an ELB > ---------------------------------------------------- > > Key: KAFKA-4041 > URL: https://issues.apache.org/jira/browse/KAFKA-4041 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.9.0.1, 0.10.0.1 > Environment: RHEL EC2 instances > Reporter: prabhakar > Priority: Blocker > > Kafka brokers are unable to connect to zookeeper which is behind an ELB. > Kafka is using zkClient which is caching the IP address of zookeeper and > even when there is a change in the IP for zookeeper it is using the Old > zookeeper IP. > The server.properties has a DNS name. Ideally kafka should resolve the IP > using the DNS in case of any failures connecting to the broker. -- This message was sent by Atlassian JIRA (v7.6.3#76005)