# Kafka Mirror Maker 2 - source topic keep getting created

**URL:** <https://forum.confluent.io/t/kafka-mirror-maker-2-source-topic-keep-getting-created/2477>\
**Category:** Kafka Streams\
**Created:** [11 August 2021 02:20 UTC](https://forum.confluent.io/t/kafka-mirror-maker-2-source-topic-keep-getting-created/2477 "2021-08-11T02:20:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alf](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/alf/32/999_2.png) [@Alf](https://forum.confluent.io/u/Alf)\
**Post date:** [11 August 2021 02:20 UTC](https://forum.confluent.io/t/kafka-mirror-maker-2-source-topic-keep-getting-created/2477/1 "2021-08-11T02:20:02Z")

</div>

Hi,

I have 2 Kafka setup, A and B. A is a cluster with 3 instances running on the same machine, while B is a stand alone in another machine. I tried to use Mirror Maker to replicate from A to B. The config file is as follows:

```auto
clusters = A, B
A.bootstrap.servers = host1:9091, host1:9092, host1:9093
B.bootstrap.servers = host2:9092

A->B.enabled = true
B->A.enabled = false

replication.factor = 1

checkpoints.topic.replication.factor=1
heartbeats.topic replication.factor=1
offset-syncs.topic.replication.factor=1

offset.storage.replication.factor=1
status.storage.replication.factor=1
config.storage.replication.factor=1

```

I execute mirror maker as follows:

```auto
bin/connect-mirror-maker.sh config/mirror.maker.properties

```

But when I run the mirror maker on the ‘B’ side I can see that it keeps creating ‘heartbeats’ topics. So at some point I will end up having so many ‘A.heartbeats’ topic like below. And it will just keep growing until I kill the mirror maker.

```auto
A.A.A.A.heartbeats
A.A.A.heartbeats
A.A.heartbeats
A.heartbeats

```

Anyone know what’s the problem and how to fix this?

Thanks.

Kafka Version: 2.13-2.8

---

<div class="post-metadata">

**Author:** ![mmuehlbeyer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mmuehlbeyer/32/1088_2.png) [@mmuehlbeyer](https://forum.confluent.io/u/mmuehlbeyer)\
**Post date:** [11 August 2021 08:32 UTC](https://forum.confluent.io/t/kafka-mirror-maker-2-source-topic-keep-getting-created/2477/2 "2021-08-11T08:32:07Z")

</div>

Hi,

there seems to be a bug similiar or related to your issue:

[https://issues.apache.org/jira/browse/KAFKA-9914](https://issues.apache.org/jira/browse/KAFKA-9914)

Didn’t check in detail but maybe worth to check.

---

<div class="post-metadata">

**Author:** ![Alf](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/alf/32/999_2.png) [@Alf](https://forum.confluent.io/u/Alf)\
**Post date:** [11 August 2021 08:58 UTC](https://forum.confluent.io/t/kafka-mirror-maker-2-source-topic-keep-getting-created/2477/3 "2021-08-11T08:58:03Z")

</div>

Thanks. Looks like the same issue.
