POST
/
v2
/
kafka
/
update-topic
/
{id}

URL Parameters

id
string
required

The unique ID of the topic

Request Parameters

retention_time
int

Retention time of messsages in the topic\ -1 for highest possible value

retention_size
int

Retention size of the messages in the topic\ -1 for highest possible value

max_message_size
int

Max message size in the topic\

Response Parameters

topic_id
string

ID of the new kafka topic

topic_name
string

Name of the new kafka topic

cluster_id
string

ID of the created Kafka cluster

region
string

The region the Kafka cluster is deployed in

creation_time
int

Cluster creation timestamp

state
string

State of the topic\ active or deleted

partitions
int

Number of partitions the topic has

multizone
boolean

Whether the multizone replication is enabled for the cluster or not

tcp_endpoint
string

TCP endpoint to connect to the Kafka cluster

rest_endpoint
string

REST endpoint to connect to the Kafka cluster

username
string

Cleanup policy to be used in the topic\ compact or delete

password
string

Password to be used in authenticating to the cluster

cleanup_policy
string

Max total number of partitions allowed in the cluster

max_retention_size
int

Max retention size will be allowed to topics in the cluster

max_retention_time
int

Max retention time will be allowed to topics in the cluster

max_message_size
int

Max message size will be allowed in topics in the cluster