启动kafka:

sh /app/pet_kafka_xxxx_cluster/bin/kafka-server-start.sh -daemon /app/pet_kafka_xxxx_cluster/config/server.properties &

停止kafka:
/app/pet_kafka_xxxx_cluster/bin/kafka-server-stop.sh

pet_kafka_xxxx_cluster  为集群名路径

启动kafka-manager
nohup  /app/kafka-manager-1.3.0.7/bin/kafka-manager -Dconfig.file=../conf/application.conf &

 /app/kafka-manager-1.3.0.7 为kafka manager

 

nohup /app/kafka-manager-1.3.0.7/bin/kafka-manager -Dconfig.file=/app/kafka-manager-1.3.0.7/conf/application.conf &

kafka manger 中管理kafka

1、进入kafka manager 页面,点击cluster > add cluster 

name 输入如:pet_kafka_xxxx_cluster

Cluster Zookeeper Hosts输入:

192.xxx.53.116:2181,192.xxx.53.117:2181,192.xxx.53.118:2181,