Kafka

Fetch Kafka Access Control Lists

get

Fetch Kafka Access Control Lists

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/acl

Create or update a Kafka Access Control List

put

Create or update a Kafka Access Control List

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
resourceTypestringRequired
resourceNamestringRequired
patternTypestringOptional
principalstringRequired
permissionTypestringRequired
hoststringRequired
operationstringRequired
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/acl

No content

Remove a Kafka Access Control List

delete

Remove a Kafka Access Control List

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
resourceTypestringRequired
resourceNamestringRequired
patternTypestringOptional
principalstringRequired
permissionTypestringRequired
hoststringRequired
operationstringRequired
lrnstringRequired
Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/acl

No content

List Kafka quotas

get

Fetch all Kafka client quotas

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/quotas

Set user quota

put

Create or update a Kafka quota for a specific user

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
usernamestringRequired

The user to create the quota for

Example: jane
Body
Other propertiesstringOptional
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/quotas/users/{username}

No content

Delete user quota

delete

Delete quota properties for a specific user

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
usernamestringRequired

The user to delete the quota for

Example: jane
Bodystring[]
string[]Optional
Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/quotas/users/{username}

No content

Set client quota

put

Create or update a Kafka quota for a specific client ID

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
client-idstringRequired

The client id to create the quota for

Example: app1
Body
Other propertiesstringOptional
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/quotas/clients/{client-id}

No content

Delete client quota

delete

Delete quota properties for a specific client ID

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
client-idstringRequired

The client id to create the quota for

Example: app1
Bodystring[]
string[]Optional
Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/quotas/clients/{client-id}

No content

Set default client quota for user

put

Create or update the default Kafka quota for all clients of a specific user

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
usernamestringRequired

The user to delete the quota for

Example: jane
Body
Other propertiesstringOptional
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/quotas/users/{username}/clients

No content

Delete default client quota for user

delete

Delete default quota properties for all clients of a specific user

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
usernamestringRequired

The user to delete the quota for

Example: jane
Bodystring[]
string[]Optional
Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/quotas/users/{username}/clients

No content

Set default user quota

put

Create or update the default Kafka quota for all users

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
Other propertiesstringOptional
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/quotas/users

No content

Delete default user quota

delete

Delete default quota properties for all users

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Bodystring[]
string[]Optional
Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/quotas/users

No content

Set default client quota

put

Create or update the default Kafka quota for all clients

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
Other propertiesstringOptional
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/quotas/clients

No content

Delete default client quota

delete

Delete default quota properties for all clients

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Bodystring[]
string[]Optional
Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/quotas/clients

No content

Set user and client quota

put

Create or update a Kafka quota for a specific user and client ID combination

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
usernamestringRequired

The user to delete the quota for

Example: jane
client-idstringRequired

The client id to create the quota for

Example: app1
Body
Other propertiesstringOptional
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/quotas/users/{username}/clients/{client-id}

No content

Delete user and client quota

delete

Delete quota properties for a specific user and client ID combination

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
usernamestringRequired

The user to delete the quota for

Example: jane
client-idstringRequired

The client id to create the quota for

Example: app1
Bodystring[]
string[]Optional
Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/quotas/users/{username}/clients/{client-id}

No content

Deprecated

Get topic broker configurations (deprecated)

get

Retrieve broker configuration settings for a Kafka topic. This endpoint is deprecated.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

The topic name

Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/topics/{topic}/brokerConfigs

Set topic configuration

put

Update configuration settings for a Kafka topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

The topic name

Body
Responses
200Success
application/json
Responsestring
put
/api/v1/environments/{environment}/proxy/api/configs/topics/{topic}
Deprecated
get

Retrieve information about a given topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
p1stringRequired

Name of the topic

Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/topics/{p1}
Deprecated
get

Retrieve a given topic partition details

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
p1stringRequired

Name of the topic

Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/topics/{p1}/partitions
Deprecated

List Kafka topics summary

get

Retrieve information about all topics

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/topics

Create a Kafka topic

post

Create a new Kafka topic with the specified configuration

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
topicNamestringRequired
replicationintegerOptional
partitionsintegerOptional
Responses
post
/api/v1/environments/{environment}/proxy/api/topics

Get Kafka topic partitions

get

Retrieve information about partitions of a given topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

Name of the topic

Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/v2/topics/{topic}/partitions

Resend a Kafka message

put

Resend a kafka message

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

Name of the topic

partitionintegerRequired

Kafka partition

offsetinteger · int64Required

Kafka offset

Responses
200Success
application/json
put
/api/v1/environments/{environment}/proxy/api/topics/{topic}/{partition}/{offset}/resend

Increase Kafka topic partitions

put

Increase the number of partitions for a Kafka topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicNamestringRequired
Body
partitionsintegerRequired
Responses
200Success
application/json
put
/api/v1/environments/{environment}/proxy/api/v1/kafka/topics/{topicName}/partitions

Delete Kafka topic records

delete

Delete records from a Kafka topic partition up to a specific offset

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicNamestringRequired
partitionintegerRequired
offsetinteger · int64Required
Responses
200Success
application/json
Responsestring
delete
/api/v1/environments/{environment}/proxy/api/topics/{topicName}/{partition}/{offset}

Delete a Kafka topic

delete

Delete a Kafka topic. The topic will be marked for deletion.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicNamestringRequired
Responses
200Success
application/json
Responsestring
delete
/api/v1/environments/{environment}/proxy/api/topics/{topicName}
Deprecated

Get Kafka topic details (deprecated)

get

Deprecated. To fetch Kafka topic details, please, use (listDatasets) /api/v1/datasets.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/v1/kafka/topics
Deprecated

Get Kafka topics details (deprecated)

get

Deprecated. To fetch Kafka topic details, please, use (listDatasets) /api/v1/datasets.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Query parameters
pageintegerOptional

The page number to be returned, must be greater than zero. Defaults to 1.

Example: 1
pageSizeintegerRequired

The elements amount on a single page, must be greater than zero.

Example: 25
sortBystring · enumOptional

The field to sort results by

Possible values:
sortingOrderstring · enumOptional

Sorting order. Defaults to ascending

Possible values:
namestringOptional

Filter by topic name

includeSystemTopicsbooleanOptional
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/v2/kafka/topics

Get Kafka topic short summary

get

Returns a Kafka topic short summary

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicNamestringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/v2/kafka/topics/{topicName}

Get Kafka topic key schema

get

Returns the schema associated with the topic key payload.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

The Kafka topic name

Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/v1/kafka/topics/{topic}/schema/key

Get Kafka topic value schema

get

Returns the schema associated with the topic value payload.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

The Kafka topic name

Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/v1/kafka/topics/{topic}/schema/value

Create Kafka topic V1

post

For AVRO, JSON, CSV, and XML it is required to provide a schema, but not for primitives (INT, LONG, STRING, BYTES), custom Lenses serde or formats like SW*** and TW***. When using AVRO the schema will be registered with the Schema Registry and the process will fail if that step fails.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
namestringRequired
replicationintegerOptional
partitionsintegerOptional
Responses
post
/api/v1/environments/{environment}/proxy/api/v1/kafka/topic

No content

Backup Kafka topic to S3

post

Back up a topic to S3. You must configure the bucket, optional prefix and the flush settings.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

The topic name

Body
clusterstringRequired
Responses
post
/api/v1/environments/{environment}/proxy/api/v1/kafka/topic/{topic}/backup

Restore Kafka topic from S3

post

Restores data from S3 into the target topic.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

The topic name

Body
clusterstringRequired
storageFormatstring · enumRequiredPossible values:
Responses
post
/api/v1/environments/{environment}/proxy/api/v1/kafka/topic/{topic}/restore

Get topic metadata

get

Retrieve metadata for a specific Kafka topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicNamestringRequired

Kafka Topic name

Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/metadata/topics/{topicName}

Delete topic metadata

delete

Delete metadata for a specific Kafka topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicNamestringRequired

The topic name

Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/metadata/topics/{topicName}

No content

List all topics metadata

get

Retrieve metadata for all Kafka topics

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/metadata/topics

Set topic metadata

post

Create or update metadata for a Kafka topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
topicNamestringRequired
keyTypestringRequired
valueTypestringRequired
keySchemastringOptional
keySchemaVersionintegerOptional
keySchemaInlinedstringOptional
valueSchemastringOptional
valueSchemaVersionintegerOptional
valueSchemaInlinedstringOptional
descriptionstringOptional
tagsstring[]Optional
additionalInfoanyOptional
Responses
200Success

No content

post
/api/v1/environments/{environment}/proxy/api/v1/metadata/topics

No content

Get Kafka topic policy

get

Fetches the configured topic creation policy. A default one will be returned if no one exists

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/v1/kafka/topic/policy

Set Kafka topic policy

put

Sets the topic creation policy

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Body
Responses
put
/api/v1/environments/{environment}/proxy/api/v1/kafka/topic/policy

No content

Deprecated

List Kafka consumer groups

get

Returns the list of Kafka consumer groups

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/consumers
Deprecated

List consumer groups for a topic

get

Returns the consumer groups which are using the given topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
topicstringRequired

The topic name

Responses
200Success
application/json
get
/api/v1/environments/{environment}/proxy/api/consumers/{topic}

Update consumer group offset

put

Updates the offset for a topic-partition for the given group

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
groupIdstringRequired

The consumer group id

topicstringRequired

The topic name

partitioninteger · int64Required

The topic partition number

Body
or
objectOptional
or
objectOptional
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/consumers/{groupId}/offsets/topics/{topic}/partitions/{partition}

No content

Update consumer group offsets

put

Update the offset for a consumer group topic-partition tuples

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
groupIdstringRequired

The consumer group id

Body
or
or
Responses
200Success

No content

put
/api/v1/environments/{environment}/proxy/api/consumers/{groupId}/offsets

No content

Delete a consumer group

delete

Returns the consumer groups which are using the given topic

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
consumerGroupNamestringRequired

The consumer group name

Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/consumers/{consumerGroupName}

No content

Delete consumer group offset

delete

Delete the offset for a topic-partition for the given group

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
groupIdstringRequired

The consumer group id

topicstringRequired

The topic name

partitionintegerRequired

The topic partition number

Responses
200Success

No content

delete
/api/v1/environments/{environment}/proxy/api/consumers/{groupId}/topics/{topic}/partitions/{partition}/offsets

No content

Delete multiple consumer group offsets

post

Delete the offset for a consumer group topic-partition tuples

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
environmentstringRequired
groupIdstringRequired

The consumer group id

Body
topicsstring[] · min: 1Required
Responses
200Success

No content

post
/api/v1/environments/{environment}/proxy/api/consumers/{groupId}/offsets/delete

No content

Last updated

Was this helpful?