![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
kafka
wenhuixl
程序员
展开
-
使用winSW工具将批处理bat注册为windows系统服务
项目需求:将kafka启动注册为windows系统服务开发环境中使用批处理一键启动,但是生产环境中需要注册为系统服务方便维护原始批处理代码:@echo offstart cmd /k "bin\windows\zookeeper-server-start.bat config\zookeeper.properties"start cmd /k "bin\windows\kafka-server-start.bat config\server.properties"exit使用winS原创 2020-06-16 15:23:24 · 2837 阅读 · 0 评论 -
BAT文件批一键启动Kafka
BAT文件批一键启动Kafka@echo offstart cmd /k "bin\windows\zookeeper-server-start.bat config\zookeeper.properties"start cmd /k "bin\windows\kafka-server-start.bat config\server.properties"exit原创 2020-06-15 14:38:18 · 741 阅读 · 0 评论 -
windows平台kafka 搭建和使用
1、下载 kafka_2.11-1.1.0.tgz链接: https://www.apache.org/dyn/closer.cgi?path=/kafka/1.1.0/kafka_2.11-1.1.0.tgz2、文件解压3、cmd进入D:\kafka_2.11-1.1.04、启动zookeeperbin\windows\zookeeper-server-start.bat con...原创 2019-08-01 17:37:08 · 122 阅读 · 0 评论