Re: Monitor ISR value

2016-07-19 Thread Mayur Patel
It would be easy to write a script that scrapes kafka-topics.sh output and compute the topic-partitions that are out of sync. However, in my experience underreplicated partition count and topic-partitions out of sync are both very noisy signals. There is also expandisrpersec and shrinkisrpersec jmx

Re: Monitor ISR value

2016-07-19 Thread Tom Crayford
Anderson, The metric `UnderReplicatedPartitions` gives you the number of partitions that are out of the ISR, but doesn't expose that per topic-partition. I'd welcome the addition of that metric to Kafka (it shouldn't be that much work in the source code I don't think), and I think others would as

Monitor ISR value

2016-07-19 Thread Anderson Goulart
Hi, I am trying to monitor under replicated partitions to create an alert based on this metric. I want to get by topic,partition how many replicas are out-of-sync, compared to the replication factor, instead of a boolean value. So someone can get an alert like: Topic A, partition 0, has 2/3