kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barto Rael <abcduser...@gmail.com>
Subject count of bytes stored in kafka
Date Fri, 27 Dec 2013 04:37:18 GMT
Hi All,

Can we see count of messages or bytes of a topic present in kafka
using jconsole or any other way ?

Jmx metric "BytesInperSec" doesn't show data stored in kafka.
As per my understanding:
"BytesInperSec" is count of bytes in a topic that have been received
by the broker since the broker process started. It is just counter
value that get incremented each time a new byte is received by broker.
The value is reset to 0 when broker is restarted.
Also the Byte count will not be decremented if any bytes are deleted
from broker.

Is there any way to check count of bytes stored in kafka even after
kafka is restarted?

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