summaryrefslogtreecommitdiffstats
path: root/src/main/docker/start-kafkaOrMirrorMaker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/docker/start-kafkaOrMirrorMaker.sh')
-rw-r--r--src/main/docker/start-kafkaOrMirrorMaker.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/docker/start-kafkaOrMirrorMaker.sh b/src/main/docker/start-kafkaOrMirrorMaker.sh
new file mode 100644
index 0000000..9bb2b8a
--- /dev/null
+++ b/src/main/docker/start-kafkaOrMirrorMaker.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [[ -n "$START_MIRROR_MAKER" && "$START_MIRROR_MAKER" = "YES" ]]; then
+ exec start-mirrormaker.sh
+ else
+ exec start-kafka.sh
+ fi \ No newline at end of file