down
编辑shell启动脚本
#!/bin/bashjava -cp KafkaOffsetMonitor-assembly-0.2.1.jar \ com.quantifind.kafka.offsetapp.OffsetGetterWeb \ --zk zk-server1,zk-server2 \ --port 8080 \ --refresh 10.seconds \ --retain 2.days
The arguments are:
- <b>zk</b> the ZooKeeper 地址和端口,用逗号分隔
- <b>port</b> web访问界面的端口
- <b>refresh</b> how often should the app refresh and store a point in the DB
- <b>retain</b> how long should points be kept in the DB