[ 
https://issues.apache.org/jira/browse/KAFKA-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manikumar resolved KAFKA-1197.
------------------------------
    Resolution: Fixed

Size, LogStartOffset, LogEndOffset are exposed as metrics in newer verions.

> 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.7.2, 0.8.0
>            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.4.14#64029)

Reply via email to