Create topic

Request

curl https://api.warpstream.com/api/v1/create_topic \
-H 'warpstream-api-key: XXXXXXXXXX' \
-H 'Content-Type: application/json' \
-d '{"virtual_cluster_id": "vci_1d4930d7_8e6d_4ad9_b27a_654ed4aaa3ee", "topic_name": "my_topic", "partition_count": 128, "configs": {"retention.ms": "604800000"}}'

Response

{}

Last updated

Was this helpful?