Scaleway logo
Clusters for Apache Kafka®

A Kafka cluster is composed of one or multiple dedicated compute nodes running a single Kafka broker.


List Kafka clusters

GET
https://api.scaleway.com
/kafka/v1alpha1/regions/{region}/clusters

List all Kafka clusters in the specified region. By default, the clusters returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as tags and name. For the name parameter, the value you include will be checked against the whole name string to see if it includes the string you put in the parameter.

List Kafka clusters › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

List Kafka clusters › query Parameters

tags
​string[]

List Kafka cluster with a given tag.

name
​string · pattern: ^[A-Za-z0-9\-_]+$

Lists Kafka clusters that match a name pattern.

Criteria to use when ordering Kafka cluster listings.

Enum values:
created_at_asc
created_at_desc
name_asc
name_desc
status_asc
status_desc
Default: created_at_asc
organization_id
​string

Organization ID of the Kafka cluster.

project_id
​string

Project ID.

page
​integer · int32
page_size
​integer · uint32

List Kafka clusters › Responses

200

List of all Kafka cluster available in an Organization or Project.

total_count
​integer · uint64

Total count of Kafka cluster available in an Organization or Project.


Create a Kafka cluster

POST
https://api.scaleway.com
/kafka/v1alpha1/regions/{region}/clusters

Create a new Kafka cluster.

Create a Kafka cluster › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

Create a Kafka cluster › Request Body

version
​string · pattern: ^[0-9]+\.[0-9]+\.[0-… · required

Version of Kafka.

node_amount
​integer · uint32 · required

Number of nodes to use for the Kafka cluster.

node_type
​string · pattern: ^[A-Za-z0-9\-_]+$ · required

Type of node to use for the Kafka cluster.

project_id
​string

The ID of the Project in which the Kafka cluster will be created.

name
​string · pattern: ^[A-Za-z0-9\-_]+$

Name of the Kafka cluster.

tags
​string[]

Tags to apply to the Kafka cluster.

One or multiple EndpointSpec used to expose your Kafka cluster.

user_name
​string | null · pattern: ^[a-z0-9]([-a-z0-9]*…

Username for the kafka user.

password
​string | null

Password for the kafka user.

​

MultiAZ tell the cluster is deployed on multiple availability zones in the region. Precisely one of multi_az, mono_az can be set.

​

MonoAZ details. Precisely one of multi_az, mono_az can be set.

Create a Kafka cluster › Responses

200
id
​string

UUID of the Kafka cluster. (UUID format)

name
​string

Name of the Kafka cluster.

project_id
​string

Project ID the Kafka cluster belongs to. (UUID format)

organization_id
​string

Organisation ID the Kafka cluster belongs to. (UUID format)

Status of the Kafka cluster.

Enum values:
unknown_status
ready
creating
configuring
deleting
error
locked
stopped
Default: unknown_status
version
​string

Kafka version of the Kafka cluster.

tags
​string[]

List of tags applied to the Kafka cluster.

Advanced settings of the Kafka cluster.

node_amount
​integer · uint32

Number of nodes in Kafka cluster.

node_type
​string

Node type of the Kafka cluster.

Volumes of the Kafka cluster.

List of Kafka cluster endpoints.

created_at
​string | null · date-time

Creation date (must follow the ISO 8601 format). (RFC 3339 format)

updated_at
​string | null · date-time

Last update date (must follow the ISO 8601 format). (RFC 3339 format)

region
​string

Region the Kafka cluster is in.

​

MultiAZ tell the cluster is deployed on multiple availability zones in the region. Precisely one of multi_az, mono_az can be set.

​

MonoAZ details. Precisely one of multi_az, mono_az can be set.


Get a Kafka cluster

GET
https://api.scaleway.com
/kafka/v1alpha1/regions/{region}/clusters/{cluster_id}

Retrieve information about a given Kafka cluster, specified by the region and cluster_id parameters. Its full details, including name, status, IP address and port, are returned in the response object.

Get a Kafka cluster › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
cluster_id
​string · required

UUID of the Kafka Cluster.

Get a Kafka cluster › Responses

200
id
​string

UUID of the Kafka cluster. (UUID format)

name
​string

Name of the Kafka cluster.

project_id
​string

Project ID the Kafka cluster belongs to. (UUID format)

organization_id
​string

Organisation ID the Kafka cluster belongs to. (UUID format)

Status of the Kafka cluster.

Enum values:
unknown_status
ready
creating
configuring
deleting
error
locked
stopped
Default: unknown_status
version
​string

Kafka version of the Kafka cluster.

tags
​string[]

List of tags applied to the Kafka cluster.

Advanced settings of the Kafka cluster.

node_amount
​integer · uint32

Number of nodes in Kafka cluster.

node_type
​string

Node type of the Kafka cluster.

Volumes of the Kafka cluster.

List of Kafka cluster endpoints.

created_at
​string | null · date-time

Creation date (must follow the ISO 8601 format). (RFC 3339 format)

updated_at
​string | null · date-time

Last update date (must follow the ISO 8601 format). (RFC 3339 format)

region
​string

Region the Kafka cluster is in.

​

MultiAZ tell the cluster is deployed on multiple availability zones in the region. Precisely one of multi_az, mono_az can be set.

​

MonoAZ details. Precisely one of multi_az, mono_az can be set.


Update a Kafka cluster

PATCH
https://api.scaleway.com
/kafka/v1alpha1/regions/{region}/clusters/{cluster_id}

Update the parameters of a Kafka cluster.

Update a Kafka cluster › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
cluster_id
​string · required

UUID of the Kafka Clusters to update.

Update a Kafka cluster › Request Body

name
​string | null · pattern: ^[A-Za-z0-9\-_]+$

Name of the Kafka Cluster.

tags
​array | null

Tags of a Kafka Cluster.

version
​string | null · pattern: ^[0-9]+\.[0-9]+\.[0-…

Version of Kafka.

volume_size_bytes
​integer | null · uint64

New volume size for each broker, can only increase. (in bytes)

Update a Kafka cluster › Responses

200
id
​string

UUID of the Kafka cluster. (UUID format)

name
​string

Name of the Kafka cluster.

project_id
​string

Project ID the Kafka cluster belongs to. (UUID format)

organization_id
​string

Organisation ID the Kafka cluster belongs to. (UUID format)

Status of the Kafka cluster.

Enum values:
unknown_status
ready
creating
configuring
deleting
error
locked
stopped
Default: unknown_status
version
​string

Kafka version of the Kafka cluster.

tags
​string[]

List of tags applied to the Kafka cluster.

Advanced settings of the Kafka cluster.

node_amount
​integer · uint32

Number of nodes in Kafka cluster.

node_type
​string

Node type of the Kafka cluster.

Volumes of the Kafka cluster.

List of Kafka cluster endpoints.

created_at
​string | null · date-time

Creation date (must follow the ISO 8601 format). (RFC 3339 format)

updated_at
​string | null · date-time

Last update date (must follow the ISO 8601 format). (RFC 3339 format)

region
​string

Region the Kafka cluster is in.

​

MultiAZ tell the cluster is deployed on multiple availability zones in the region. Precisely one of multi_az, mono_az can be set.

​

MonoAZ details. Precisely one of multi_az, mono_az can be set.


Delete a Kafka cluster

DELETE
https://api.scaleway.com
/kafka/v1alpha1/regions/{region}/clusters/{cluster_id}

Delete a given Kafka cluster, specified by the region and cluster_id parameters. Deleting a Kafka cluster is permanent, and cannot be undone. Note that upon deletion all your data will be lost.

Delete a Kafka cluster › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
cluster_id
​string · required

UUID of the Kafka Cluster to delete.

Delete a Kafka cluster › Responses

200
id
​string

UUID of the Kafka cluster. (UUID format)

name
​string

Name of the Kafka cluster.

project_id
​string

Project ID the Kafka cluster belongs to. (UUID format)

organization_id
​string

Organisation ID the Kafka cluster belongs to. (UUID format)

Status of the Kafka cluster.

Enum values:
unknown_status
ready
creating
configuring
deleting
error
locked
stopped
Default: unknown_status
version
​string

Kafka version of the Kafka cluster.

tags
​string[]

List of tags applied to the Kafka cluster.

Advanced settings of the Kafka cluster.

node_amount
​integer · uint32

Number of nodes in Kafka cluster.

node_type
​string

Node type of the Kafka cluster.

Volumes of the Kafka cluster.

List of Kafka cluster endpoints.

created_at
​string | null · date-time

Creation date (must follow the ISO 8601 format). (RFC 3339 format)

updated_at
​string | null · date-time

Last update date (must follow the ISO 8601 format). (RFC 3339 format)

region
​string

Region the Kafka cluster is in.

​

MultiAZ tell the cluster is deployed on multiple availability zones in the region. Precisely one of multi_az, mono_az can be set.

​

MonoAZ details. Precisely one of multi_az, mono_az can be set.


Get a Kafka cluster's certificate authority

GET
https://api.scaleway.com
/kafka/v1alpha1/regions/{region}/clusters/{cluster_id}/certificate-authority

Retrieve certificate authority for a given Kafka cluster, specified by the region and cluster_id parameters. The response object contains the certificate in PEM format. The certificate is required to validate the sever from the client side during TLS connection.

Get a Kafka cluster's certificate authority › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
cluster_id
​string · required

UUID of the Kafka Cluster.

Get a Kafka cluster's certificate authority › Responses

200
name
​string
content_type
​string
content
​string

Renew the Kafka cluster's certificate authority

POST
https://api.scaleway.com
/kafka/v1alpha1/regions/{region}/clusters/{cluster_id}/renew-certificate-authority

Request to renew the certificate authority for a given Kafka cluster, specified by the region and cluster_id parameters. The certificate authority will be renewed within a few minutes.

Renew the Kafka cluster's certificate authority › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
cluster_id
​string · required

UUID of the Kafka Cluster.

Renew the Kafka cluster's certificate authority › Request Body

Renew the Kafka cluster's certificate authority › Responses

No data returned