Apache Kafka · Schema

Partition

Partition schema from Apache kafka

Distributed SystemsEvent StreamingMessagingOpen SourcePub-Sub

Properties

Name Type Description
kind string
metadata object
cluster_id string
topic_name string
partition_id integer
leader object
replicas array
View JSON Schema on GitHub

JSON Schema

kafka-rest-proxy-partition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-kafka/refs/heads/main/json-schema/kafka-rest-proxy-partition-schema.json",
  "title": "Partition",
  "description": "Partition schema from Apache kafka",
  "type": "object",
  "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"
      }
    }
  }
}