清理kafka zookeeper
ps -ef|grep zookeeper |grep -v grep|awk '{print $2}'|xargs kill -9; ps -ef|grep pet_kafka |grep -v grep|awk '{print $2}'|xargs kill -9; rm -rf /app/zookeeper/data/version-2/; rm -rf /app/zookeeper/logs/*; rm -rf /app/pet_kafka_emds2_cluster/kafka-logs/*; rm -rf /app/pet_kafka_emds2_cluster/logs/*; /app/zookeeper/bin/zkServer.sh start /app/pet_kafka_cluster/bin/kafka-server-start.sh -daemon /app/pet_kafka_emds2r/config/server.properties
清理kafka zookeeper