标签:start create 开发 启动 环境 top partition host des
以下均为开发测试环境下:
启动Zookeeper
bin/zookeeper-server-start.sh config/zookeeper.properties &
启动kafka
bin/kafka-server-start.sh config/server.properties
创建topic
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic rokid
查看kafka的topic中的内容
bin/kafka-topics.sh --describe --zookeeper localhost:2181 --topic rokid
标签:start create 开发 启动 环境 top partition host des
原文地址:http://www.cnblogs.com/zhzhang/p/6789759.html