Created
March 18, 2018 08:22
-
-
Save labra/a6b6d8e55a778fad473e943a3996b113 to your computer and use it in GitHub Desktop.
Simple script to start zooKeeper and kafka asynchronously (waits 5 seconds for Kafka so Zookeeper has time to start)
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
SET currentDir=%cd% | |
cd C:\utils\Stream\kafka_2.11-1.0.1 | |
start "Zookeeper" /min bin\windows\zookeeper-server-start.bat config/zookeeper.properties | |
timeout 5 | |
start "Kafka" /min bin\windows\kafka-server-start.bat config/server.properties | |
cd %currentDir% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment