Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mirror maker target topic name different from source topic name

Is it possible to have a Kafka mirror maker that read from a source kafka cluster the data from a topic source and write those data to a target kafka cluster in a topic named target?

I was lookinkg around for some producer config properties in a mirror maker to specify the target topic name.

Thanks in advance

like image 513
Beniamino Del Pizzo Avatar asked Dec 20 '25 14:12

Beniamino Del Pizzo


1 Answers

to achieve this with MirrorMaker you need to create a custom MessageHandler in which you can perform the necessary transformations.

I have created an example at https://github.com/opencore/mirrormaker_topic_rename which might help you with this.

Let me know if you have additional questions.

like image 75
Sönke Liebau Avatar answered Dec 24 '25 07:12

Sönke Liebau



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!