-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.
On Mon, Dec 31, 2012 at 10:48 AM, Subhash Agrawal <[EMAIL PROTECTED]>wrote:
> 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?
> Subhash A.