启动
[root@node1 kafka]# ./bin/kafka-server-start.sh -daemon config/server.properties
创建主题
./bin/kafka-topics.sh --create --zookeeper 192.168.23.101:2181,192.168.23.102:2181,192.168.23.103:2181 --replication-factor 3 --partitions 3 --topic test
原文地址:https://www.cnblogs.com/tk112/p/10444311.html
时间: 2024-10-17 23:09:17