Saltar al contenido principal
POST
Create a topic

Autorizaciones

Authorization
string
header
requerido

A Keycloak access token: an account token from the kafka-connect-access client, or a subaccount token from client credentials. Tokens are short-lived; request a new one when you get 401.

Cuerpo

application/json
name
string
requerido

Lowercase letters, digits, and hyphens; starts and ends with a letter or digit.

Required string length: 1 - 201
Pattern: ^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$
Ejemplo:

"orders"

Respuesta

The topic was created.

name
string
requerido

Lowercase letters, digits, and hyphens; starts and ends with a letter or digit.

Required string length: 1 - 201
Pattern: ^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$
Ejemplo:

"orders"

access
enum<string>[]
requerido

What this token may do with the topic's messages through its connections: write means publish, read means subscribe to <topic ID>/out.

Opciones disponibles:
read,
write