You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Hanish Bansal (JIRA)" <ji...@apache.org> on 2014/01/02 17:45:51 UTC

[jira] [Created] (KAFKA-1197) Count of bytes or messages of a topic stored in kafka

Hanish Bansal created KAFKA-1197:
------------------------------------

             Summary: Count of bytes or messages of a topic stored in kafka
                 Key: KAFKA-1197
                 URL: https://issues.apache.org/jira/browse/KAFKA-1197
             Project: Kafka
          Issue Type: New Feature
          Components: core
    Affects Versions: 0.8.0, 0.7.2
            Reporter: Hanish Bansal
            Priority: Minor


There should be direct way of measuring count of messages or bytes for a topic stored in Kafka.

There are already some very useful metrics like byteRate and messageRate using what we can see count of bytes/messages coming into Kafka broker.
I was looking for some jmx metrics that can give count of messages/bytes stored in kafka.

If we look into data stores like hbase we can see  how many messages are  stored in hbase or if we look into search engine like elasticsearch then also we can see how many messages are stored/indexed in elasticsearch. In similar way i was expecting that there should be some way to see count of  messages or bytes for a topic stored in kafka without using any external tool.

It will be really helpful if there is some support for this using some jmx metric or by script.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)