Kafka clusters
Create a Kafka user
/kafka-clusters/{uuid}/usersCreates a Kafka user. Strimzi generates its password, which is returned if the user becomes active within a few seconds; otherwise the response has a warning and the user's password is available from the credentials endpoint once it is active. Producer/consumer users can read every topic under the company's prefix, which includes all data Artie replicates, and write to topics under the company's customer prefix. Admin-profile users are managed under /admin-users.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request POST \
--url https://api.artie.com/kafka-clusters/{uuid}/users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"accessProfile": "<string>",
"username": "<string>"
}'Path parameters
uuidstringrequired
Body
application/json
accessProfilestringrequiredMust be producer_consumer; create admin-profile users with POST /kafka-clusters/{uuid}/admin-users.
usernamestringrequired
Responses
200OKapplication/json
kafkaUserobjectrequiredShow child attributes
accessProfilestringrequiredconsumerGroupPrefixstringrequiredcreatedAtstring<date-time>requiredstatusstringrequiredusernamestringrequireduuidstring<uuid>required
passwordstringThe SCRAM-SHA-512 password Strimzi generated, returned when the user is already active. Otherwise get it from the credentials endpoint once the user is active.
warningstring
400Bad Request
404Not Found
409Conflict
500Internal Server Error
{
"kafkaUser": {
"accessProfile": "<string>",
"consumerGroupPrefix": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"username": "<string>",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"password": "<string>",
"warning": "<string>"
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.