Thanks, Isroudi. But in my usecase there are two separate zookeeper as well. Let me know how would it handle.
On Mon, Aug 12, 2019 at 1:45 PM lsroudi abdel <lsro...@gmail.com> wrote: > If it is two cluster it mean you have two zookeeper, I guess you can't do > that, I f you have one zookeeper it will be ok, in the case you have one > zookeeper it's just an architecture with replica across two data center, I > hope it clear for you > > Le lun. 12 août 2019 à 09:22, Garvit Sharma <eng.gar...@gmail.com> a > écrit : > > > Hi, > > > > I have 2 kafka clusters in different data-centers so can I provide the > dns > > hostnames of both the clusters separated by comma in *bootstrap.servers* > > key in producer config ? > > > > If I provide two different clusters in *bootstrap.servers *then how would > > the events get published ? > > Would events get published to both the clusters or either of them > randomly > > ? > > > > Looking forward to hearing from you. > > > > Thanks > > >