There are no statistics on a per-day basis. Kafka exposes metrics for producer throughput per sec. Both in terms of byte rate as well as number of messages. you'll have to write some sort of a cron to periodically sample it.
If you want exact numbers, then write a cron job to get the current offset at the start of the day and current offset at the end of the day and subtract it. you'll have to sum it up over all topicPartitions. On Tue, Feb 20, 2018 at 12:37 PM, siva prasad <sivaprasad....@gmail.com> wrote: > Guys, > > You have any details on queried ? > > Cheers, > Siva > > On Fri, Feb 16, 2018 at 4:56 PM, siva prasad <sivaprasad....@gmail.com> > wrote: > > > Hey Guys, > > > > > > I am wondering if there is way to get messages through put of Kafka > > brokers. > > > > Ex: > > 1) Number of messages sent per day to a Broker/Cluster > > 2) Number of messages consumed per day by a Broker/Cluster > > > > It should be cumulative from all topics on a cluster. Also, count > > shouldn't consider replication. > > > > Ex: > > If a single message sent to a topic with replication factor of 3 then > > message count should be 1. > > > > These statistics will be helpful to business. > > > > -- > > Cheers, > > Siva > > > > > > -- > Cheers, > Siva >