Amitav,

When you say total volume, do you want a topic’s size on disk, taking into 
account replication and retention, or do you want the aggregate bytes published 
into a topic? If you have a metrics collector and a graphing tool such as 
grafana, you can transform the rate metrics to a byte sum by applying an 
integral function, but those will always grow and not take into account 
deletion after the retention period.

If you want metrics on how much space a topic occupies on disk, I’d suggest 
using collectd and this plugin: https://github.com/HubSpot/collectd-kafka-disk

—
Peter

> On Jan 16, 2019, at 1:12 PM, Amitav Mohanty <[email protected]> wrote:
> 
> Hi
> 
> I am interested in getting total volume of data that a topic ingested in a
> period of time. Does Kafka collect any such metrics? I check JMX console
> but I only found rate metrics.
> 
> Regards,
> Amitav

Reply via email to