To create a topic attached to a Kafka cluster, send a POST request to
/v2/databases/$DATABASE_ID/topics
.
The result will be a JSON object with a topic
key.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
database_cluster_uuid |
string | True | A unique identifier for a database cluster. | |
body |
JSON or IO[bytes] | False |
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.