Kafka0.8
Kafka0.8
.sh config/zookeeper.properties
.sh config/server.properties
-topic.sh --zookeeper localhost: --replica --partition --topic test
-topic.sh --zookeeper localhost:
localhost: --topic test
--topic test ---beginning
.
broker.id=
port=
log.dir=-logs-
config/server-.
broker.id=
port=
log.dir=-logs-
bin/kafka-server-start.sh config/server-.properties & bin/kafka-server-start.sh config/server-.properties &
-topic.sh --zookeeper localhost: --replica --partition --topic my-replicated-topic
-topic.sh --zookeeper localhost:
localhost: --topic my-replicated-topic
---beginning --topic my-replicated-topic
参考:http://kafka.apache.org/08/quickstart.html
评论暂时关闭