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 Plain View
Kafka >> mail # user >> Re: Broker configuration from consumer using API


Copy link to this message
-
Re: Broker configuration from consumer using API
We don't have such an api in 0.7. In 0.8, the # of partitions in a topic
can be obtained from a getMetadata Api.

Thanks,

Jun

On Mon, Dec 31, 2012 at 10:48 AM, Subhash Agrawal <[EMAIL PROTECTED]>wrote:

> Hi,
>
> I need to get broker configuration information like number of partitions
> from consumer application using API. I looked at
> the API and realized I need KafkaBroker instance but I could not find way
> to get this instance from consumer.
>
> Any idea how to get this information?
>
> Thanks
> Subhash A.
>

 
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