Apache Kafka · JSON Structure

Kafka Rest Proxy Create Topic Request Structure

CreateTopicRequest schema from Apache kafka

Type: object Properties: 4 Required: 1
Distributed SystemsEvent StreamingMessagingOpen SourcePub-Sub

CreateTopicRequest is a JSON Structure definition published by Apache Kafka, describing 4 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

topic_name partitions_count replication_factor 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-create-topic-request-structure.json",
  "name": "CreateTopicRequest",
  "description": "CreateTopicRequest schema from Apache kafka",
  "properties": {
    "topic_name": {
      "type": "string"
    },
    "partitions_count": {
      "type": "integer"
    },
    "replication_factor": {
      "type": "integer"
    },
    "configs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "topic_name"
  ]
}