尝试过创建服务,白费
sc create ActiveMQ binPath= D:/anzhuang/apache-activemq-5.13.3/bin/win64/activemq.bat start= auto
sc create ZooKeeper binPath= D:/anzhuang/apache-zookeeper-3.7.1-bin/bin/zkServer.cmd start= auto
sc create KafKa binPath= D:/anzhuang/kafka_2.12-3.2.0/bin/kafka_start.cmd start= auto
开机还是起不来,删除了
sc delete ZooKeeper
最后直接上方案:新建个.bat
start cmd /k "D:\anzhuang\apache-activemq-5.13.3\bin\win64\activemq.bat"
start cmd /k "D:\anzhuang\apache-zookeeper-3.7.1-bin\bin\zkServer.cmd"
start cmd /k "D:\anzhuang\kafka_2.12-3.2.0\bin\windows\kafka-server-start.bat D:\anzhuang\kafka_2.12-3.2.0\config\server.properties"
内容就是启动三个窗口每个窗口独立启动服务