This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Preparing Kafka for the kafcam project | |
echo Deleting C:\tmp folder - clears all topics | |
rd /s /q "C:\tmp" | |
echo Starting Zookeeper | |
start cmd /k bin\windows\zookeeper-server-start.bat config\zookeeper.properties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/bash | |
echo "--------- Starting Zookeeper ---------" | |
gnome-terminal -- bin/zookeeper-server-start.sh config/zookeeper.properties | |
sleep 10 | |
echo "--------- Starting Kafka Broker ---------" | |
gnome-terminal -- bin/kafka-server-start.sh config/server1.properties |