Hello,

If it's possible for your conf : could you try something like:

*Setting 2 partitions on your topic A

*run both MM2 at the same time with the same group of consumer but different clientID.

In this way, Kafka Broker shoulds affect one partition by MM2 clientID, and so, messages will be "_alternatively_" mirrored based on the distribution of messages over partitions of topic A I guess.

Best regards

On 7/4/24 09:38, gustavo panizzo wrote:
Hello

I have a source kafka cluster and 2 destination kafka clusters to which
i want to mirror messages _alternatively_, with this I mean that if
topic A was mirrored up to offset=3 to destination cluster 1 I want
mirrormaker to mirror offset=4 onwards to destination cluster 2

I dont care for consumergroup offset replication, i only care about
messages


A way i think i can make this work is to have both mm2 instances
configured (but only one of them enabled at any time) and using the same
topic (mm2-offset-syncs.$destination.internal) to keep the state of
message mirroring
I found that KIP-690 allows for this topic name to be configured,
however i cannot figure out how do that

cheers

Reply via email to