Hi Himanshu
Can u pls tell how to use MM2..
I am using Apache Kafka,in this normal mirror maker is only available..
Most of the people saying like to use MM2 but I didn't able to know where
to get that MM2.
Is it related to Apache or from some other Distributors?
Can u pls explain how to install that version
On Thu, Apr 30, 2020, 01:35 Himanshu Tyagi <tyagi.himanshu90@gmail.com>
wrote:
> Hey Team,
> I've a few doubts regarding how the producers work after failover in Mirror
> Maker 2
>
> Let's say that we have two clusters K1 and K2 and configured MM2
> replication for TOPIC1 (originally created in just K1).
>
> We configured the active-active replication:
>
> K1->K2.enabled = true
> K2->K1.enabled = true
> K1->K2.topics = .*
> K2->K1.topics = .*
>
> On starting mirror maker 2, I see that topics are replicated from cluster
> K1
> to K2 in the naming format K1.topic_name_here and vice versa for topics
> from cluster K2 to K1.
>
> I see that there was no topic TOPIC1 created in K2, only K1.TOPIC1 was
> created. I see this scenario working for consumers, as in the beginning the
> consumers consume TOPIC1 from cluster K1. When the cluster K1 out of
> service, fail over happens. Consumers start to consume K1.TOPIC1 from K2.
>
> My questions are as follows:
>
> 1. For producers, they won't producer to the topic K1.TOPIC1 in cluster
> K2, my question is how do the producers go about producing data. Do I
> need
> to manually create a topic TOPIC1 in cluster K2 and this topic will be
> used for producing messages to when failover happens.
> 2. If the above scenario is true, how do I move back to my primary
> cluster K1. As, now the topic TOPIC1 in cluster K2 has digressed from
> the topic TOPIC in K1. How do we sync the messages in this scenario ?
>
>
> --
> Best,
> Himanshu Tyagi
> Contact No.- +1 480 465 0625
>
Can u pls tell how to use MM2..
I am using Apache Kafka,in this normal mirror maker is only available..
Most of the people saying like to use MM2 but I didn't able to know where
to get that MM2.
Is it related to Apache or from some other Distributors?
Can u pls explain how to install that version
On Thu, Apr 30, 2020, 01:35 Himanshu Tyagi <tyagi.himanshu90@gmail.com>
wrote:
> Hey Team,
> I've a few doubts regarding how the producers work after failover in Mirror
> Maker 2
>
> Let's say that we have two clusters K1 and K2 and configured MM2
> replication for TOPIC1 (originally created in just K1).
>
> We configured the active-active replication:
>
> K1->K2.enabled = true
> K2->K1.enabled = true
> K1->K2.topics = .*
> K2->K1.topics = .*
>
> On starting mirror maker 2, I see that topics are replicated from cluster
> K1
> to K2 in the naming format K1.topic_name_here and vice versa for topics
> from cluster K2 to K1.
>
> I see that there was no topic TOPIC1 created in K2, only K1.TOPIC1 was
> created. I see this scenario working for consumers, as in the beginning the
> consumers consume TOPIC1 from cluster K1. When the cluster K1 out of
> service, fail over happens. Consumers start to consume K1.TOPIC1 from K2.
>
> My questions are as follows:
>
> 1. For producers, they won't producer to the topic K1.TOPIC1 in cluster
> K2, my question is how do the producers go about producing data. Do I
> need
> to manually create a topic TOPIC1 in cluster K2 and this topic will be
> used for producing messages to when failover happens.
> 2. If the above scenario is true, how do I move back to my primary
> cluster K1. As, now the topic TOPIC1 in cluster K2 has digressed from
> the topic TOPIC in K1. How do we sync the messages in this scenario ?
>
>
> --
> Best,
> Himanshu Tyagi
> Contact No.- +1 480 465 0625
>
Comments
Post a Comment