Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Kafka clusters

Create a Kafka topic

POST/kafka-clusters/{uuid}/topics

Creates a topic. On a shared cluster the name must start with <companyUUID>.customer., the namespace customer Kafka users can produce to. On a Managed Kafka cluster any name works except the cluster's own topics (Kafka's __ topics and Cruise Control's strimzi.cruisecontrol.*), and the cluster must be active (409 otherwise).

Authorizations

  • Authorizationstringheaderrequired

    API key passed as a Bearer token in the Authorization header.

Request

curl --request POST \
  --url https://api.artie.com/kafka-clusters/{uuid}/topics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "configEntries": {
    "key": "<string>"
  },
  "partitionCount": 123,
  "replicationFactor": 123,
  "topic": "<string>"
}'

Path parameters

  • uuidstringrequired

Body

application/json

  • configEntriesRecord<string, string> | null
  • partitionCountintegerrequired
  • replicationFactorintegerrequired
  • topicstringrequired

Responses

200OKapplication/json

  • topicstringrequired

400Bad Request

404Not Found

409Conflict

500Internal Server Error

502Bad Gateway

200 OK
{
  "topic": "<string>"
}

Was this page helpful?