Kafka Topic V2

Update Kafka topic configs

SecurityBasic Authentication
Request
path Parameters
kafkaTopicId
required
string

ID of the Kafka topic

Request Body schema: application/json
required
Array of objects (KafkaTopicConfigV2)

list of Kafka topic configs

Responses
200

Requested Kafka topic configs update

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

Create a Kafka Topic

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

Topic partition count

replicationFactor
required
integer

Replication factor for Topic

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/v2/
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/v2/{kafkaTopicId}/
Request samples
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

Responses
204

Kafka topic delete requested

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