If you use a load balancer bear in mind the importance of the advertised.listeners setting: https://rmoff.net/2018/08/02/kafka-listeners-explained/
-- Robin Moffatt | Senior Developer Advocate | ro...@confluent.io | @rmoff On Wed, 15 Jan 2020 at 08:15, Himanshu Shukla <himanshushukla...@gmail.com> wrote: > is it recommended to use ALB(running all 3 nodes on ec2 instances) or > something similar? > > Thanks and Regards, > Himanshu Shukla > > > > > On Wed, Jan 15, 2020 at 12:52 PM Tom Bentley <tbent...@redhat.com> wrote: > > > Hi Himanshu, > > > > Short answer: yes. > > > > The way a Kafka client works is to connect to one of the given bootstrap > > brokers and ask it about the rest of the cluster. The client then > connects > > to those brokers as necessary. So in general a client will need to > connect > > to all brokers in the cluster and therefore the broker IPs need to be > > routable from the client. > > > > Cheers, > > > > Tom > > > > On Wed, Jan 15, 2020 at 5:10 AM Himanshu Shukla < > > himanshushukla...@gmail.com> > > wrote: > > > > > Hi all, > > > > > > do I have to necessarily have public IPs for all the brokers? Since we > > can > > > give a few of the IPs in bootstrap.servers config. > > > > > >