A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractConsumerTreeWatcher - Class in com.github.reiseburo.verspaetung.zk
AbstractConsumerTreeWatcher(CuratorFramework, AbstractSet, AbstractMap) - Constructor in AbstractConsumerTreeWatcher
AbstractTreeWatcher - Class in com.github.reiseburo.verspaetung.zk
AbstractTreeWatcher defines the contract and base components for the various Zookeeper tree watchers Verspaetung needs.
AbstractTreeWatcher(CuratorFramework) - Constructor in AbstractTreeWatcher

B

brokerIdFromPath(String) - Method in BrokerTreeWatcher
Process a path string from Zookeeper for the Kafka broker's ID
BrokerTreeWatcher - Class in com.github.reiseburo.verspaetung.zk
The BrokerTreeWatcher is a kind of watcher whose sole purpose is to watch the segment of the Zookeeper tree where Kafka stores broker information
BrokerTreeWatcher(CuratorFramework) - Constructor in BrokerTreeWatcher

C

cache - Field in AbstractTreeWatcher
childEvent(CuratorFramework, TreeCacheEvent) - Method in AbstractConsumerTreeWatcher
Primary TreeCache event processing callback
childEvent(CuratorFramework, TreeCacheEvent) - Method in AbstractTreeWatcher
childEvent(CuratorFramework, TreeCacheEvent) - Method in BrokerTreeWatcher
Process events like NODE_ADDED and NODE_REMOVED to keep an up to date list of brokers
client - Field in AbstractTreeWatcher
close() - Method in AbstractTreeWatcher
Close our internal cache and return ourselves for API cleanliness
consumer - Field in ConsumerGauge
ConsumerGauge - Class in com.github.reiseburo.verspaetung.metrics
Dropwizard Metrics Gauge for reporting the value of a given KafkaConsumer
ConsumerGauge(KafkaConsumer, AbstractMap<KafkaConsumer, Integer>, AbstractMap<TopicPartition, Long>) - Constructor in ConsumerGauge
consumerNameFromPath(String) - Method in KafkaSpoutTreeWatcher
Extract the given name for a KafkaSpout consumer based on the path in Zookeeper
ConsumerOffset - Class in com.github.reiseburo.verspaetung.zk
POJO representing data from Zookeeper for a consumer, topic and offset
ConsumerOffset(String, Integer, Integer) - Constructor in ConsumerOffset
consumerOffsets - Field in AbstractConsumerTreeWatcher
consumers - Field in ConsumerGauge
createCLI() - Method in Main
Create the Options option necessary for verspaetung to have CLI options

D

Delay - Class in com.github.reiseburo.verspaetung
abstract the logic on how to reduce the polling speed and get back to to full speed.
die() - Method in KafkaPoller
Signal the runloop to safely die after it's next iteration

E

equals(Object) - Method in KafkaConsumer
Return true for any two KafkaConsumer instances which have the same topic, partition and name properties
equals(Object) - Method in TopicPartition
Return true for any two TopicPartition instances that have equal topic and partition properties

F

G

getName() - Method in ConsumerGauge
getNameForRegistry() - Method in ConsumerGauge
return a unique name for this gauge
getTags() - Method in ConsumerGauge
getValue() - Method in ConsumerGauge
getValue() - Method in HeartbeatGauge

H

hashCode() - Method in KafkaConsumer
hashCode() - Method in TopicPartition
HeartbeatGauge - Class in com.github.reiseburo.verspaetung.metrics
A simple gauge that will always just return 1 indicating that the process is alive

I

isNodeEvent(TreeCacheEvent) - Method in AbstractConsumerTreeWatcher
Return true if the TreeCacheEvent received pertains to a node event that we're interested in
isOffsetSubtree(String) - Method in AbstractConsumerTreeWatcher
Determine whether a given path is of interest, i.e. path which contains offset data
isOffsetSubtree(String) - Method in KafkaSpoutTreeWatcher
We're expecting things to look like: /kafka_spout/topologyname/partition_0
isOffsetSubtree(String) - Method in StandardTreeWatcher

J

K

KafkaBroker - Class in com.github.reiseburo.verspaetung
POJO containing the necessary information to model a Kafka broker
KafkaBroker(Object, Integer) - Constructor in KafkaBroker
KafkaConsumer - Class in com.github.reiseburo.verspaetung
POJO containing the necessary information to model a Kafka consumers
KafkaConsumer(String, Integer, String) - Constructor in KafkaConsumer
KafkaPoller - Class in com.github.reiseburo.verspaetung
KafkaPoller is a relatively simple class which contains a runloop for periodically contacting the Kafka brokers defined in Zookeeper and fetching the latest topic meta-data for them
KafkaPoller(AbstractMap, AbstractSet) - Constructor in KafkaPoller
KafkaSpoutTreeWatcher - Class in com.github.reiseburo.verspaetung.zk
KafkaSpoutTreeWatcher process Zookeeper paths normally associated with Storm KafkaSpout based consumers
KafkaSpoutTreeWatcher(CuratorFramework, AbstractSet, AbstractMap) - Constructor in KafkaSpoutTreeWatcher

L

logger - Field in AbstractTreeWatcher

M

Main - Class in com.github.reiseburo.verspaetung
Main entry point for running the verspaetung application
main(String) - Method in Main

N

O

onConsumerData - Field in AbstractConsumerTreeWatcher
onInitComplete - Field in AbstractTreeWatcher

P

parseCommandLine(String) - Method in Main
Parse out all the command line options from the array of string arguments
processChildData(ChildData) - Method in AbstractConsumerTreeWatcher
Process the ChildData associated with an event
processChildData(ChildData) - Method in KafkaSpoutTreeWatcher
processChildData(ChildData) - Method in StandardTreeWatcher
Extract the necessary information from a standard (i.e. high-level Kafka consumer) tree of offsets

Q

R

refresh(List<KafkaBroker>) - Method in KafkaPoller
Store a new list of KafkaBroker objects and signal a reconnection
registerMetricFor(KafkaConsumer, ConcurrentHashMap<KafkaConsumer, ConsumerGauge>, ConcurrentHashMap<KafkaConsumer, Integer>, ConcurrentHashMap<TopicPartition, Long>) - Method in Main
reset() - Method in Delay
run() - Method in KafkaPoller

S

shouldExcludeConsumer(String, KafkaConsumer) - Method in Main
Return true if we should exclude the given KafkaConsumer from reporting
slower() - Method in Delay
StandardTreeWatcher - Class in com.github.reiseburo.verspaetung.zk
StandardTreeWatcher processes Zookeeper paths for standard high-level Kafka consumers
start() - Method in AbstractTreeWatcher
Start our internal cache and return ourselves for API cleanliness

T

TopicPartition - Class in com.github.reiseburo.verspaetung
Simple container for Kafka topic names and partition IDs
TopicPartition(String, Integer) - Constructor in TopicPartition
topics - Field in ConsumerGauge
toString() - Method in ConsumerOffset
toString() - Method in Delay
toString() - Method in KafkaBroker
toString() - Method in KafkaConsumer
toString() - Method in TopicPartition
trackConsumerOffset(ConsumerOffset) - Method in AbstractConsumerTreeWatcher
Keep track of a ConsumerOffset in the consumersMap that was passed into this class on instantiation

U

V

value() - Method in Delay

W

watchedTopics - Field in AbstractConsumerTreeWatcher

X

Y

Z

zookeeperPath() - Method in AbstractTreeWatcher
Return the String of the path in Zookeeper this class should watch.
zookeeperPath() - Method in BrokerTreeWatcher
zookeeperPath() - Method in KafkaSpoutTreeWatcher
zookeeperPath() - Method in StandardTreeWatcher

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _