Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> API to to query messages amount under one topic


Copy link to this message
-
RE: API to to query messages amount under one topic
+ 1!

A call through the Consumer Group, queuedMessageCount(topic,
partitionNumber), could query zookeeper (and add the local fetched queue) to
return this interesting piece of information.  That is if we cannot already
do this :)

Thanks,
rob

> -----Original Message-----
> From: Sining Ma [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2013 7:05 PM
> To: [EMAIL PROTECTED]
> Subject: API to to query messages amount under one topic
>
> Hi,
> Is there any APIs in kafka that I can use to query how many messages there
> are under one topic?
> This topic already exist in Kafka server, and producer is sending messages
to
> one topic in kafka server
>
>
> -- Regards
>    Sining Ma
>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB