Apache Kafka Topic V3

Create a Kafka Topic

SecurityBasic Authentication
Request
Request Body schema: application/json
required
partitions
required
integer

Topic partition count

Array of objects (KafkaTopicConfigV2)

List of Kafka topic configs which have non-default values. These could be set by terraform or other methods like kafka cli etc.

replicationFactor
required
integer

Replication factor for Topic

currentOperationStatus
string (CurrentOperationStatus)

Indicates if the cluster is currently performing any operation such as being created, updated, or deleted

Enum: "NO_OPERATION" "OPERATION_IN_PROGRESS" "OPERATION_FAILED"
topic
required
string

Kafka Topic name

clusterId
required
string <uuid>

ID of the Kafka cluster

Responses
202

Kafka topic provisioning requested

post/cluster-management/v2/resources/applications/kafka/topics/v3
Request samples
application/json
{
  • "clusterId": "c1af59c6-ba0e-4cc2-a0f3-65cee17a5f37",
  • "configs": [
    ],
  • "partitions": 3,
  • "replicationFactor": 3,
  • "topic": "topic-test"
}
Response samples
application/json
{
  • "clusterId": "c1af59c6-ba0e-4cc2-a0f3-65cee17a5f37",
  • "configs": [
    ],
  • "partitions": 3,
  • "replicationFactor": 3,
  • "topic": "topic-test"
}