Messages replicating constantly #7899
-
Hello, When I write a message from one Kafka pod in a cluster, it replicates into the other cluster. However I don't know why the messages are continuosly generating copied data. Here are my MirrorMaker yamls:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
This is because you use the |
Beta Was this translation helpful? Give feedback.
This is because you use the
IdentityReplicationPolicy
. You cannot do it when you do active-active mirroring. There is no real active-active mirroring in Mirror Maker ... you normally just rename the topics, but an individual topic is always mirrored only in one direction. When you try to do it with theIdentityReplicationPolicy
, then this is what happens. TheIdentityReplicationPolicy
is normally designed for active-passive mirroring where the passive node basically works as a kind of backup and not an active site where messages are produced.