Retrieve a list of Kafka topics currently in the given cluster.
Successfully returned a JSON list of Kafka topics
Bad Request
Not Authorized
Missing permissions
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
Bad Gateway
Service Unavailable
Gateway Timeout
{- "topics": [
- "instaclustr-sla"
]
}
Create a new Kafka topic in the given cluster with the specified number of partitions and replication factor.
Kafka topic successfully created
Bad Request
Not Authorized
Missing permissions
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
Bad Gateway
Service Unavailable
Gateway Timeout
{- "topic": "topic-test",
- "replicationFactor": 3,
- "partitions": 3,
- "validationMessages": {
- "property1": "string",
- "property2": "string"
}
}
{- "message": "Topic test-topic created."
}
Retrieve the information (number of partitions and replication factor) of a Kafka topic in the given cluster.
Successfully returned a JSON of Kafka topic information
Bad Request
Not Authorized
Missing permissions
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
Bad Gateway
Service Unavailable
Gateway Timeout
{- "topic": "test-topic",
- "partitions": 3,
- "replicationFactor": 3
}
Delete the Kafka topic for a given topic name
Kafka topic successfully deleted
Bad Request
Not Authorized
Missing permissions
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
Bad Gateway
Service Unavailable
Gateway Timeout
{- "message": "Kafka topic test-topic has been deleted."
}
Describe the configs of a Kafka topic.
Successfully returned a JSON of a Kafka topic configs
Bad Request
Not Authorized
Missing permissions
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
Bad Gateway
Service Unavailable
Gateway Timeout
{- "topic": "test-topic",
- "config": {
- "min.insync.replicas": "2"
}
}
Modify the configs of a Kafka topic. Refer to https://kafka.apache.org/23/documentation.html for available keys and valid values.
Successfully updated the configs of Kafka topic
Bad Request
Not Authorized
Missing permissions
Resource not found
Unsupported media type: returned when the payload is in an unsupported format.
Too many requests: returned when more than 35 requests per second are being received by your user.
Bad Gateway
Service Unavailable
Gateway Timeout
{- "config": {
- "min.insync.replicas": "2"
}, - "validationMessages": {
- "property1": "string",
- "property2": "string"
}
}
{- "message": "The configs for Kafka topic test-topic has been modified."
}