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"
}

Get Kafka Topic details

SecurityBasic Authentication
Request
path Parameters
kafkaTopicId
required
string
Responses
200

Kafka topic details retrieved

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

Update Kafka topic configs

SecurityBasic Authentication
Request
path Parameters
kafkaTopicId
required
string

ID of the Kafka topic as <clusterId>_<topicName>

Request Body schema: application/json
required
required
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.

Responses
202

Requested Kafka topic configs update

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

Delete the kafka topic

SecurityBasic Authentication
Request
path Parameters
kafkaTopicId
required
string

ID of the Kafka topic as <clusterId>_<topicName>

Responses
204

Kafka topic delete requested

delete/cluster-management/v2/resources/applications/kafka/topics/v3/{kafkaTopicId}
Request samples