Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

count of bytes stored in kafka

$
0
0
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?

Viewing all articles
Browse latest Browse all 5648

Trending Articles