There should only be one controller at any point of time in a Kafka cluster. If that controller broker is bounced, then the controller moves to another broker. In general, you want to alert if the addition of the mbean values for ActiveControllerCount across all brokers in a cluster != 1.
Thanks, Neha On Mon, Nov 18, 2013 at 11:16 PM, Monika Garg <gargmon...@gmail.com> wrote: > Hi, > > there is one Mbean in jconsole with name > "kafka.controller":type="KafkaController",name="ActiveControllerCount", > > the Value of this Mbean is always 1 on one broker and 0 on all others > remaining broker of the 3 nodes kafka cluster.Will it always be like this? > > As per my understanding it will always be 1 on one and only one broker as > there will be only one active controller in the cluster at any point of > time. > > So it should be "kafka.controller":type="KafkaController",name=" > *ActiveController*" and it sholud be a boolean value. > > Please correct if I am wrong. > > -- > *Moniii* >