You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Bui Thanh MInh (Jira)" <ji...@apache.org> on 2021/04/27 10:48:00 UTC
[jira] [Updated] (KAFKA-12719) Kafka MirrorMaker 2 can only mirror
in one direction in Active/Active config
[ 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)