Skip to content

Question: Do we have some kafka tools ? #1170

Closed
@Jiayi-Liao

Description

@Jiayi-Liao

I am trying to use kafka-python to inspect a topic's basic information such as partitions,
but I am not sure that the module can help me because I didn't see any instructions.
I am using kafka-python 1.3.3.

Is there any way that can help me do this with python instead of using command line ?
kafka-topics --list --zookeeper localhost:2181
kafka-run-class kafka.tools.GetOffsetShell --broker-list localhost:9092 -topic vital_signs --time -1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions