Name: kafka-offset-monitor-graphite
Owner: Allegro Tech
Description: Graphite reporter for Kafka Offset Monitor.
Created: 2015-07-08 14:32:12.0
Updated: 2018-05-21 14:41:45.0
Pushed: 2015-09-23 20:49:37.0
Homepage: null
Size: 148
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Plugin to KafkaOffsetMonitor tool reporting offset data to graphite via dropwizard metrics.
Currently KafkaOffsetMonitor is not available via public artifact repository, so before we build the plugin we need to build KafkaOffsetMonitor and publish it to maven local repo:
publishM2
Now we can build the plugin:
assembly
Check how to run KafkaOffsetMonitor and modify the command by adding a plugin assembly jar file to the classpath, and put graphite configuration properties into a pluginsArgs argument.
See original KafkaOffsetMonitor example command modified with graphite reporter plugin usage:
-cp "KafkaOffsetMonitor-assembly-0.3.0-SNAPSHOT.jar:kafka-offset-monitor-graphite-assembly-0.1.0-SNAPSHOT.jar" \
com.quantifind.kafka.offsetapp.OffsetGetterWeb \
--zk zk-server1,zk-server2 \
--port 8080 \
--refresh 10.seconds \
--retain 2.days \
--pluginsArgs graphiteHost=graphite.host,graphitePort=2003,graphitePrefix=stats.kafka.offset_monitor
The pluginArgs used by kafka-offset-monitor-graphite are: