You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Jun Rao <ju...@gmail.com> on 2013/01/01 02:24:30 UTC

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 <sa...@actuate.com>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.
>