Apache Kafka · JSON Structure

Kafka Rest Proxy Partition Structure

Partition schema from Apache kafka

Type: object Properties: 7
Distributed SystemsEvent StreamingMessagingOpen SourcePub-Sub

Partition is a JSON Structure definition published by Apache Kafka, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

kind metadata cluster_id topic_name partition_id leader replicas

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-kafka/refs/heads/main/json-structure/kafka-rest-proxy-partition-structure.json",
  "name": "Partition",
  "description": "Partition schema from Apache kafka",
  "properties": {
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "cluster_id": {
      "type": "string"
    },
    "topic_name": {
      "type": "string"
    },
    "partition_id": {
      "type": "integer"
    },
    "leader": {
      "type": "object"
    },
    "replicas": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  }
}