Skip to content

Add metadata() API #161

Closed
Closed
@Ycallaer

Description

@Ycallaer

Hi,
I am currently using confluent kafka v0.9.2 and I was wondering if it is possible to retrieve the number of partitions for a given topic.
In java you can reach this information when using org.apache.kafka.common.Cluster but does something similar exist in the python implementation ?
I've quickly browsed the python implementation but couldn't find anything similar.
One possibility is probably using kazoo and retrieve this info from zookeeper but if possible I want to avoid this.

thanks for any insight you can provide

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequesting a feature change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions