Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Re: Broker configuration from consumer using API


Copy link to this message
-
Re: Broker configuration from consumer using API
Jun Rao 2013-01-01, 01:24
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.
>