R. Tyler Croy
e18ac81468
Introduce codenarc and make the project adhere to some coding standards
2015-09-01 15:50:31 -07:00
R. Tyler Croy
3a9caa2535
Avoid computing negative values for offsets, making zero the lowest possible value
...
Fixes #25
2015-03-22 10:56:26 -07:00
R. Tyler Croy
dc33298435
Groovy's getStrings() method with string interpolation doesn't do what you think it does
...
groovy:000> user = "Ron"
===> Ron
groovy:000> "hello ${user}"
===> hello Ron
groovy:000> "hello ${user}".getStrings()
===> [hello , ]
groovy:000> "hello ${user}".toString()
===> hello Ron
Fixes #24
2015-03-20 15:13:40 -07:00
R. Tyler Croy
38e8c62e00
Properly report metrics to datadog with the appropriate tags
...
This requires a much more recent version of our metrics-datadog library but
does result in the right values being reported into datadog.
2015-03-20 10:58:45 -07:00
R. Tyler Croy
71347594ca
Major refactor to support dropwizard-metrics as the means of outputting metrics
...
This commit changes the structure of Verspaetung pretty dramatically to allow
for the registering of Gauges for the various offsets
With this change the KafkaPoller is pushing the latest offsets into a map and the
ZK consumer tree watchers are pushing consumer offsets into a separate map.
References #17
2015-02-06 08:34:19 -08:00