标签:col config art lis actor 三台 class image ons
启动zookeeper(三台):
bin/zkServer.sh start
启动kafka(三台):
root@Ubuntu-1:/usr/local/kafka# bin/kafka-server-start.sh config/server.properties >logs/kafka3.log 2>&1
在131中创建access的topic:
root@Ubuntu-1:/usr/local/kafka# bin/kafka-topics.sh --create --topic access --zookeeper 192.168.22.131:2181,192.168.22.132:2181,192.168.22.135:2181 --replication-factor 3 --partitions 2
查看创建的主题:
root@Ubuntu-1:/usr/local/kafka# bin/kafka-topics.sh --list --zookeeper localhost:2181
启动flume:
标签:col config art lis actor 三台 class image ons
原文地址:http://www.cnblogs.com/huxinga/p/7465290.html