Bidirectional XDCR by MirrorMaker2

2020-09-25 Thread Oleg Osipov
Hello! KIP-382 states the following "For cross-datacenter replication (XDCR), each datacenter should have a single Connect cluster which pulls records from the other data centers via source connectors. Replication may fan-out within each datacenter via sink connectors." It looks like, here we h

Re: Two MirrorMakers 2 for two DCs

2020-09-23 Thread Oleg Osipov
you can run multiple MM2s for multiple DCs, and generally that's > what you want to do. Are you using Connect to run MM2, or the > connect-mirror-maker.sh driver? > > Ryanne > > On Mon, Sep 21, 2020, 3:38 PM Oleg Osipov > wrote: > > > I use the configuration

Re: Two MirrorMakers 2 for two DCs

2020-09-22 Thread Oleg Osipov
> On Mon, Sep 21, 2020, 3:38 PM Oleg Osipov > wrote: > > > I use the configuration for M2M for both datacentres > > clusters: > > - {"name": "dc1", "bootstrapServers": ip1} > > - {"name": "dc2", "b

Re: Two MirrorMakers 2 for two DCs

2020-09-21 Thread Oleg Osipov
7;dc2'? On 2020/09/21 17:27:50, nitin agarwal wrote: > Did you keep the cluster name the same ? If yes, then it will cause > conflict in metadata stored in MM2 internal topics. > > Thanks, > Nitin > > On Mon, Sep 21, 2020 at 10:36 PM Oleg Osipov > wrote: > > &g

Two MirrorMakers 2 in two datacenters

2020-09-21 Thread Oleg Osipov
Hello! I have two datacenters DC1 and DC2. When I deploy M2M in DC1 or DC2 all things look correct. I can create a topic, and this topic will be synchronized with another datacenter. In this case, I have only one mirror maker. But I want to deploy M2M in each DC. So after I've done this, newly c

Two MirrorMakers 2 for two DCs

2020-09-21 Thread Oleg Osipov
Hello! I have two datacenters DC1 and DC2. When I deploy M2M in DC1 or DC2 all things look correct. I can create a topic, and this topic will be syncronized with another datacenter. In this case, I have only one mirror maker. But I want to deploy M2M in each DC. So after I done this, newly c