bat脚本:windows下一键启动zookeeper+kafka
2021-04-24 18:27
标签:size mil start 启动 pre windows conf star zookeeper bat脚本:windows下一键启动zookeeper+kafka 标签:size mil start 启动 pre windows conf star zookeeper 原文地址:http://www.cnblogs.com/noKing/p/7953783.htmlbat脚本:windows下一键启动zookeeper+kafka
这里用ping来控制时间(先zookeeper,ping 4 次后 kafka),也可以用choice /t 10 /d y /n >nul来更精确地控制时间
start cmd /k "D:\zookeeper-3.4.6\bin\zkServer.cmd"
start cmd /k "ping 127.1 -n "4">nul&&D:\kafka_2.12-0.11.0.0\bin\windows\kafka-server-start.bat D:\kafka_2.12-0.11.0.0\config\server.properties"
文章标题:bat脚本:windows下一键启动zookeeper+kafka
文章链接:http://soscw.com/index.php/essay/79057.html