Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
0.9.0.1, 0.10.0.1
-
None
-
None
-
RHEL EC2 instances
Description
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.
Attachments
Issue Links
- duplicates
-
KAFKA-5473 handle ZK session expiration properly when a new session can't be established
- Resolved
- is caused by
-
ZOOKEEPER-2184 Zookeeper Client should re-resolve hosts when connection attempts fail
- Closed
- is duplicated by
-
KAFKA-4871 Kafka doesn't respect TTL on Zookeeper hostname - crash if zookeeper IP changes
- Resolved
- links to