Get cluster-level metadata for all partitions in topic

GET /v1/cluster/partitions/{namespace}/{topic}

Get cluster-level metadata for all partitions in topic.

Path parameters

  • namespace string Required
  • topic string Required

Query parameters

  • disabled boolean

Responses

  • 200 application/json

    Topic partitions metadata

    Hide response attributes Show response attributes object
    • ns string

      namespace

    • partition_id integer(int64)

      partition

    • replicas array[object]

      Replica assignments

      Replica assignment

      Hide replicas attributes Show replicas attributes object
      • core integer(int64)

        core

      • node_id integer(int64)

        node id

    • disabled boolean

      Status

    • topic string

      topic

GET /v1/cluster/partitions/{namespace}/{topic}
curl \
 --request GET 'http://localhost:9644/v1/cluster/partitions/{namespace}/{topic}'
Response examples (200)
[
  {
    "ns": "string",
    "partition_id": 42,
    "replicas": [
      {
        "core": 42,
        "node_id": 42
      }
    ],
    "disabled": true,
    "topic": "string"
  }
]