-
KafkaOffsetMonitor 0.4.6版本的本地化实测应用于Kafka集群监控
资源介绍
start.sh
#!/bin/bash
java -Xms512M -Xmx512M -Xss1024K -XX:PermSize=256m -XX:MaxPermSize=512m \
-cp KafkaOffsetMonitor-assembly-0.4.6-zjz.jar \
com.quantifind.kafka.offsetapp.OffsetGetterWeb \
--offsetStorage kafka \
--kafkaBrokers ip1:ports,ip2:ports,ip3:ports \
--zk ip1:ports,ip2:ports,ip3:ports \
--port 8181 \
--refresh 10.seconds \
--retain 5.days \
--dbName offsetapp_kafka 1>out.log 2>err.log &
stop.sh
#!/bin/bash
killnum=`jps | grep OffsetGetterWeb | awk '{print $1}'`
kill -9 ${killnum}
echo "OK...."