Main entry point for running the verspaetung application
Type | Name and description |
---|---|
static org.apache.commons.cli.Options |
createCLI() Create the Options option necessary for verspaetung to have CLI options |
static void |
main(java.lang.String[] args) |
static org.apache.commons.cli.CommandLine |
parseCommandLine(java.lang.String[] args) Parse out all the command line options from the array of string arguments |
static void |
registerMetricFor(KafkaConsumer consumer, java.util.concurrent.ConcurrentHashMap<KafkaConsumer, ConsumerGauge> consumerGauges, java.util.concurrent.ConcurrentHashMap<KafkaConsumer, java.lang.Integer> consumerOffsets, java.util.concurrent.ConcurrentHashMap<TopicPartition, java.lang.Long> topicOffsets) |
static boolean |
shouldExcludeConsumer(java.lang.String[] excludeGroups, KafkaConsumer consumer) Return true if we should exclude the given KafkaConsumer from reporting |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create the Options option necessary for verspaetung to have CLI options
Parse out all the command line options from the array of string arguments
Return true if we should exclude the given KafkaConsumer from reporting