Bump the minor version for release, updating the group too
Renaming the entire source tree now that this is under reiseburo
This commit is contained in:
parent
f15aeaee0c
commit
fb4f152fed
|
@ -17,4 +17,4 @@ env:
|
|||
secure: MzcJafov6+fztyym0hZFTxjirTAgVFqFRO4pSSoDUZV71jHBYRKLmQxiaYpqdl9d7Q7Jz7UfNZRSisNwZQdeZjs0B9yJwy9m1mDlJaUXIWN/xzW04qPnZ5zxh1yJHK+UHIw5G2qRZSE42m9G3TSRBlUz6OMk+tr2UYErfnKzcsc=
|
||||
|
||||
after_success:
|
||||
"./gradlew bintrayUpload -PbintrayUser=lookouteng -PbintrayKey=${BINTRAY_KEY}"
|
||||
"./gradlew bintrayUpload -PbintrayUser=rtyler -PbintrayKey=${BINTRAY_KEY}"
|
||||
|
|
|
@ -20,4 +20,4 @@ NOTE: This is mostly meant for the developer team.
|
|||
Currently releases can be produced by simply pushing a Git tag to this GitHub
|
||||
repository. This will cause Travis CI to build and test the tag, which if it is
|
||||
successful, will automatically publish to
|
||||
link:https://bintray.com/lookout/systems/verspaetung[Bintray].
|
||||
link:https://bintray.com/reiseburo/apps/verspaetung[Bintray].
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*Copyright (c) 2015 Lookout, Inc*
|
||||
*Copyright (c) 2015 Lookout, Inc, R. Tyler Croy*
|
||||
|
||||
MIT License
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
image:https://travis-ci.org/lookout/verspaetung.svg?branch=master["Build Status", link="https://travis-ci.org/lookout/verspaetung"]
|
||||
image:https://travis-ci.org/reiseburo/verspaetung.svg?branch=master["Build Status", link="https://travis-ci.org/reiseburo/verspaetung"]
|
||||
|
||||
image::https://api.bintray.com/packages/lookout/systems/verspaetung/images/download.svg[link="https://bintray.com/lookout/systems/verspaetung/_latestVersion"]
|
||||
image::https://api.bintray.com/packages/reiseburo/systems/verspaetung/images/download.svg[link="https://bintray.com/reiseburo/systems/verspaetung/_latestVersion"]
|
||||
|
||||
Verspätung is a small utility which aims to help identify delay of link:http://kafka.apache.org[Kafka] consumers.
|
||||
|
||||
|
|
20
build.gradle
20
build.gradle
|
@ -9,10 +9,10 @@ plugins {
|
|||
id 'application'
|
||||
}
|
||||
|
||||
group = "com.github.lookout"
|
||||
group = "com.github.reiseburo"
|
||||
description = "A utility for monitoring the delay of Kafka consumers"
|
||||
version = '0.4.0'
|
||||
mainClassName = 'com.github.lookout.verspaetung.Main'
|
||||
version = '0.5.0'
|
||||
mainClassName = 'com.github.reiseburo.verspaetung.Main'
|
||||
defaultTasks 'check', 'assemble'
|
||||
|
||||
/* Ensure we properly build for JDK7 still */
|
||||
|
@ -142,8 +142,16 @@ artifacts {
|
|||
archives shadowJar
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
groovy {
|
||||
exclude '**/*.sw*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* https://github.com/lookout/verspaetung/issues/28
|
||||
* https://github.com/reiseburo/verspaetung/issues/28
|
||||
*
|
||||
* disable the distZip and distTar tasks since we only need the shadow jar
|
||||
*/
|
||||
|
@ -171,8 +179,8 @@ bintray {
|
|||
configurations = ['archives']
|
||||
|
||||
pkg {
|
||||
userOrg = 'lookout'
|
||||
repo = 'systems'
|
||||
userOrg = 'reiseburo'
|
||||
repo = 'apps'
|
||||
name = 'verspaetung'
|
||||
labels = []
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
/**
|
||||
* abstract the logic on how to reduce the polling speed and get back to
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
/**
|
||||
* POJO containing the necessary information to model a Kafka broker
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
/**
|
||||
* POJO containing the necessary information to model a Kafka consumers
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
import org.slf4j.Logger
|
||||
import org.slf4j.LoggerFactory
|
|
@ -1,10 +1,10 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
import com.github.lookout.verspaetung.zk.BrokerTreeWatcher
|
||||
import com.github.lookout.verspaetung.zk.KafkaSpoutTreeWatcher
|
||||
import com.github.lookout.verspaetung.zk.StandardTreeWatcher
|
||||
import com.github.lookout.verspaetung.metrics.ConsumerGauge
|
||||
import com.github.lookout.verspaetung.metrics.HeartbeatGauge
|
||||
import com.github.reiseburo.verspaetung.zk.BrokerTreeWatcher
|
||||
import com.github.reiseburo.verspaetung.zk.KafkaSpoutTreeWatcher
|
||||
import com.github.reiseburo.verspaetung.zk.StandardTreeWatcher
|
||||
import com.github.reiseburo.verspaetung.metrics.ConsumerGauge
|
||||
import com.github.reiseburo.verspaetung.metrics.HeartbeatGauge
|
||||
|
||||
import java.util.concurrent.ConcurrentHashMap
|
||||
import java.util.concurrent.ConcurrentSkipListSet
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
/**
|
||||
* Simple container for Kafka topic names and partition IDs
|
|
@ -1,11 +1,11 @@
|
|||
package com.github.lookout.verspaetung.metrics
|
||||
package com.github.reiseburo.verspaetung.metrics
|
||||
|
||||
import com.codahale.metrics.Gauge
|
||||
import groovy.transform.TypeChecked
|
||||
import org.coursera.metrics.datadog.Tagged
|
||||
|
||||
import com.github.lookout.verspaetung.KafkaConsumer
|
||||
import com.github.lookout.verspaetung.TopicPartition
|
||||
import com.github.reiseburo.verspaetung.KafkaConsumer
|
||||
import com.github.reiseburo.verspaetung.TopicPartition
|
||||
|
||||
/**
|
||||
* Dropwizard Metrics Gauge for reporting the value of a given KafkaConsumer
|
||||
|
@ -38,7 +38,7 @@ class ConsumerGauge implements Gauge<Integer>, Tagged {
|
|||
* Returning the maximum value of the computation and zero, there are
|
||||
* some cases where we can be "behind" on the Kafka latest offset
|
||||
* polling and this could result in an erroneous negative value. See:
|
||||
* <https://github.com/lookout/verspaetung/issues/25> for more details
|
||||
* <https://github.com/reiseburo/verspaetung/issues/25> for more details
|
||||
*/
|
||||
return Math.max(0,
|
||||
((Integer)this.topics[topicPartition]) - this.consumers[consumer])
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung.metrics
|
||||
package com.github.reiseburo.verspaetung.metrics
|
||||
|
||||
import com.codahale.metrics.Gauge
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import com.github.lookout.verspaetung.KafkaConsumer
|
||||
import com.github.reiseburo.verspaetung.KafkaConsumer
|
||||
|
||||
import groovy.transform.TypeChecked
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import groovy.transform.TypeChecked
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import com.github.lookout.verspaetung.KafkaBroker
|
||||
import com.github.reiseburo.verspaetung.KafkaBroker
|
||||
|
||||
import groovy.json.JsonSlurper
|
||||
import groovy.transform.TypeChecked
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
/**
|
||||
* POJO representing data from Zookeeper for a consumer, topic and offset
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import groovy.json.JsonSlurper
|
||||
import groovy.transform.TypeChecked
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import groovy.transform.TypeChecked
|
||||
import groovy.transform.InheritConstructors
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
import spock.lang.*
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
import spock.lang.*
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
import spock.lang.*
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
|
||||
import spock.lang.*
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung
|
||||
package com.github.reiseburo.verspaetung
|
||||
|
||||
import spock.lang.*
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package com.github.lookout.verspaetung.metrics
|
||||
package com.github.reiseburo.verspaetung.metrics
|
||||
|
||||
import spock.lang.*
|
||||
|
||||
import com.github.lookout.verspaetung.KafkaConsumer
|
||||
import com.github.lookout.verspaetung.TopicPartition
|
||||
import com.github.reiseburo.verspaetung.KafkaConsumer
|
||||
import com.github.reiseburo.verspaetung.TopicPartition
|
||||
|
||||
class ConsumerGaugeSpec extends Specification {
|
||||
private KafkaConsumer consumer
|
|
@ -1,8 +1,8 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import spock.lang.*
|
||||
|
||||
import com.github.lookout.verspaetung.TopicPartition
|
||||
import com.github.reiseburo.verspaetung.TopicPartition
|
||||
import org.apache.curator.framework.CuratorFramework
|
||||
import org.apache.curator.framework.recipes.cache.ChildData
|
||||
import org.apache.curator.framework.recipes.cache.TreeCacheEvent
|
|
@ -1,8 +1,8 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import spock.lang.*
|
||||
|
||||
import com.github.lookout.verspaetung.TopicPartition
|
||||
import com.github.reiseburo.verspaetung.TopicPartition
|
||||
import org.apache.curator.framework.CuratorFramework
|
||||
import org.apache.curator.framework.recipes.cache.ChildData
|
||||
import org.apache.curator.framework.recipes.cache.TreeCacheEvent
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import spock.lang.*
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import spock.lang.*
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.github.lookout.verspaetung.zk
|
||||
package com.github.reiseburo.verspaetung.zk
|
||||
|
||||
import spock.lang.*
|
||||
|
Loading…
Reference in New Issue