How to start Kafka MirrorMaker automatically from a Kafka Helm Chart?

9/23/2019

In a Helm Chart, how can a command be specified for one of the containers to execute? The container is kafka and the command is to start mirrormaker:

kafka-run-class.sh kafka.tools.MirrorMaker --consumer.config consumer.properties --num.streams 2 --producer.config producer.properties --whitelist="allowed_topics, _schemas"

I don't want to modify the Dockerfile and I'm not sure if adding a Job in the Helm is the proper approach.

Thanks!

-- echedey lorenzo
apache-kafka
kubernetes

0 Answers