Also, short answer is you have to roll your own system with EIPs and use the EIPs directly to ensure cache issues don't occur (ie resolve the EIP DNS to an internal IP and then that is cycled). Otherwise you should be in a VPC with known IPs so no problem then.
On Mon, Aug 15, 2016 at 11:11 AM, Joe Lawson < jlaw...@opensourceconnections.com> wrote: > This recently came up on the list, check out: http://search-hadoop.com/ > m/uyzND12ZzwunNJzS&subj=Kafka+DNS+Caching+in+AWS > > On Mon, Aug 15, 2016 at 10:46 AM, Digumarthi, Prabhakar Venkata Surya < > prabhakarvenkatasurya.digumar...@capitalone.com> wrote: > >> Hi All, >> >> >> We are using kafka version 0.9 and we are facing issues, in kafka >> connecting to zookeeper. >> >> Here are mode details: >> >> Zookeeper is in front AWS Elastic Load Balancer and the ELB has been >> associated with a DNS name, say zookerper1.com. >> >> >> Our broker configuration looks the below >> >> zookeeper.connect= zookerper1.com:2181, zookerper2.com:2181,zookerper3 >> .com:2181 >> >> >> But what’s happening is Kafka is storing the IP of the zookeeper it first >> resolves and is using the same for connecting to zookeeper. Some times our >> ELB Ip address are changing and hence kafka is never able to connect to >> zookeeper. >> >> Is there any configuration we can do to kafka to use the DNS name of >> zookeeper always ? >> >> Thanks, >> Prabhakar >> >> ________________________________________________________ >> >> The information contained in this e-mail is confidential and/or >> proprietary to Capital One and/or its affiliates and may only be used >> solely in performance of work or services for Capital One. The information >> transmitted herewith is intended only for use by the individual or entity >> to which it is addressed. If the reader of this message is not the intended >> recipient, you are hereby notified that any review, retransmission, >> dissemination, distribution, copying or other use of, or taking of any >> action in reliance upon this information is strictly prohibited. If you >> have received this communication in error, please contact the sender and >> delete the material from your computer. >> > > > > -- > -Joe > -- -Joe