kafka Web監控 KafkaOffsetMonitor

down

https://github.com/quantifind/KafkaOffsetMonitor/releases/tag/v0.2.1java

編輯shell啓動腳本git

#!/bin/bash

java -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:github

  1. <b>zk</b> the ZooKeeper 地址和端口,用逗號分隔
  2. <b>port</b> web訪問界面的端口
  3. <b>refresh</b> how often should the app refresh and store a point in the DB
  4. <b>retain</b> how long should points be kept in the DB
相關文章
相關標籤/搜索