kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devanshu Srivastava <devanshuma...@gmail.com>
Subject Re: Mbean "kafka.server":type="BrokerTopicMetrics",name="AllTopicsMessagesInPerSec" returning 0 always
Date Mon, 26 May 2014 12:39:26 GMT
Hi Arjun ,

What is the configured number of logical partitions per topic per server .
With the partition size as 2 , Only two partitions would be created
distributed over 2 brokers with one partition each , you can confirm  the
same by checking the log file directory for each broker (default -
/tmp/kafka-logs). Probably the 3d broker does not have any Topic-partition
for data to be written/read.

You may also use tool : bin/kafka-list-topic.sh –zookeeper
localhost:2181 –topic
{topic-name}


On Mon, May 26, 2014 at 4:02 PM, Arjun <arjun@socialtwist.com> wrote:

> Hi,
>
> We have a Kafka cluster which contains 3 kafka brokers. Data is pushed
> into kafka queue continously.
> To monitor the kafka brokers, we use the JMX metrics given by kafka.
> One thing i observed is there is one broker which is returning*"0"*  all
> the time for the bean
> *"kafka.server":type="BrokerTopicMetrics",name="AllTopicsMessagesInPerSec"
> .
> *
> Is there some thing i should worry about? i am able to get the data from
> kafka and push the data into kafka with out a glitch.
>
>
> Thanks
> Arjun Narasimha Kota
> *
> *
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message