Create a Kafka Topic
Endpoint
Request
curl -X 'POST' \
'https://kafka.de-txl.ionos.com/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead/topics' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $Token' \
--data
'{
"metadata": {},
"properties": {
"name": "my-kafka-cluster-topic",
"replicationFactor": 3,
"numberOfPartitions": 3,
"logRetention": {
"retentionTime": 604800000,
"segmentBytes": 1073741824
}
}
}'Header Parameters
Required
Type
Description
Path Parameters
Required
Type
Description
Body Parameters
Type
Description
Example
Response
Last updated
Was this helpful?