Apache Kafka · JSON Structure

Kafka Rest Proxy Topic Structure

Topic schema from Apache kafka

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

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

Properties

kind metadata cluster_id topic_name is_internal replication_factor partitions_count partitions configs

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-topic-structure.json",
  "name": "Topic",
  "description": "Topic schema from Apache kafka",
  "properties": {
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "cluster_id": {
      "type": "string"
    },
    "topic_name": {
      "type": "string"
    },
    "is_internal": {
      "type": "boolean"
    },
    "replication_factor": {
      "type": "integer"
    },
    "partitions_count": {
      "type": "integer"
    },
    "partitions": {
      "type": "object",
      "properties": {
        "related": {
          "type": "string"
        }
      }
    },
    "configs": {
      "type": "object",
      "properties": {
        "related": {
          "type": "string"
        }
      }
    }
  }
}