I do something like this in my environment to simplify things. We use a consul service address, e.g ‘kafka.service.subdomain.consul', to provide the VIP, which returns the address of a live broker in the cluster. Kafka clients use that address in their configs. It works very well.
— Peter > On Aug 26, 2020, at 11:54 AM, manoj.agraw...@cognizant.com wrote: > > Hi All , > Can we use VIP ip rather than Kafka Broker host name in bootstrap string at > producer side ? > Any concern or recommendation way