Skip to content

Commit ea10724

Browse files
authored
Update Kafka-Install-And-Settings.md
1 parent 2f762a4 commit ea10724

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

markdown-file/Kafka-Install-And-Settings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ socket.request.max.bytes=104857600
424424

425425
- 启动 kafka 服务(必须制定配置文件):`cd /usr/local/kafka && bin/kafka-server-start.sh config/server.properties`
426426
- 后台方式运行 kafka 服务:`cd /usr/local/kafka && bin/kafka-server-start.sh -daemon config/server.properties`
427+
- 停止 kafka 服务:`cd /usr/local/kafka && bin/kafka-server-stop.sh`
427428
- 再开一个终端测试:
428429
- 进入目录:`cd /usr/local/kafka`
429430
- 创建 topic 命令:`bin/kafka-topics.sh --create --zookeeper youmeekhost:2181 --replication-factor 1 --partitions 1 --topic my-topic-test`

0 commit comments

Comments
 (0)