[ https://issues.apache.org/jira/browse/KAFKA-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bui Thanh MInh updated KAFKA-12719: ----------------------------------- Description: Config: _clusters = DC1, DC2_ _NPS.bootstrap.servers = <DC1-Brokers>_ _NTL.bootstrap.servers = <DC2-Brokers>_ _# Source and target clusters configurations._ _config.storage.replication.factor = 3_ _offset.storage.replication.factor = 3_ _status.storage.replication.factor = 3_ _DC1->DC2.enabled = true_ _DC2->DC1.enabled = true_ _# Mirror maker configurations._ _offset-syncs.topic.replication.factor = 3_ _heartbeats.topic.replication.factor = 3_ _checkpoints.topic.replication.factor = 3_ _topics = .*_ _groups = .*_ In my test case, I turn off whole DC1, and client will switch to DC2, after that I bring cluster in DC1 back, restart MM2 with no error and realize that no topics was replicated from DC2->DC1. I don't know why and how to check in this case. What's wrong in my configuration? was: Config: ``` clusters = DC1, DC2 NPS.bootstrap.servers = <DC1-Brokers> NTL.bootstrap.servers = <DC2-Brokers> # Source and target clusters configurations. config.storage.replication.factor = 3 offset.storage.replication.factor = 3 status.storage.replication.factor = 3 DC1->DC2.enabled = true DC2->DC1.enabled = true # Mirror maker configurations. offset-syncs.topic.replication.factor = 3 heartbeats.topic.replication.factor = 3 checkpoints.topic.replication.factor = 3 topics = .* groups = .* ``` In my test case, I turn off whole DC1, and client will switch to DC2, after that I bring cluster in DC1 back, restart MM2 with no error and realize that no topics was replicated from DC2->DC1. I don't know why and how to check in this case. What's wrong in my configuration? > Kafka MirrorMaker 2 can only mirror in one direction in Active/Active config > ---------------------------------------------------------------------------- > > Key: KAFKA-12719 > URL: https://issues.apache.org/jira/browse/KAFKA-12719 > Project: Kafka > Issue Type: Bug > Components: mirrormaker > Affects Versions: 2.7.0 > Reporter: Bui Thanh MInh > Priority: Major > > Config: > _clusters = DC1, DC2_ > _NPS.bootstrap.servers = <DC1-Brokers>_ > _NTL.bootstrap.servers = <DC2-Brokers>_ > _# Source and target clusters configurations._ > _config.storage.replication.factor = 3_ > _offset.storage.replication.factor = 3_ > _status.storage.replication.factor = 3_ > _DC1->DC2.enabled = true_ > _DC2->DC1.enabled = true_ > _# Mirror maker configurations._ > _offset-syncs.topic.replication.factor = 3_ > _heartbeats.topic.replication.factor = 3_ > _checkpoints.topic.replication.factor = 3_ > _topics = .*_ > _groups = .*_ > > In my test case, I turn off whole DC1, and client will switch to DC2, after > that I bring cluster in DC1 back, restart MM2 with no error and realize that > no topics was replicated from DC2->DC1. I don't know why and how to check in > this case. What's wrong in my configuration? > -- This message was sent by Atlassian Jira (v8.3.4#803005)