Get partitions with lost majority

GET /v1/partitions/majority_lost

List of partitions with lost majority given an input set of dead node (broker) IDs.

Query parameters

  • dead_nodes string Required

    Use a comma-separated list of IDs, for example 1,3,5.

Responses

  • 200 application/json

    List of partitions

    Hide response attributes Show response attributes object
    • ntp object

      NTP

      Hide ntp attributes Show ntp attributes object
      • ns string

        Namespace

      • topic string

        Topic

      • partition integer

        Partition ID

    • topic_revision integer(int64)

      Revision of topic that this NTP is part of

    • replicas array[object]

      Replica assignments

      Replica assignment

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

        core

      • node_id integer(int64)

        node id

    • dead_nodes array[integer(int32)]

      List of dead nodes (brokers) that contribute to majority loss of partitions

GET /v1/partitions/majority_lost
curl \
 --request GET 'http://localhost:9644/v1/partitions/majority_lost?dead_nodes=string'
Response examples (200)
[
  {
    "ntp": {
      "ns": "string",
      "topic": "string",
      "partition": 42
    },
    "topic_revision": 42,
    "replicas": [
      {
        "core": 42,
        "node_id": 42
      }
    ],
    "dead_nodes": [
      42
    ]
  }
]