Scaleway logo
Clusters for Apache Kafka®

Cluster endpoints enable connection to your cluster.


Create a new Kafka cluster endpoint

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

Create a new endpoint for a Kafka cluster. You can add public_network or private_network specifications to the body of the request. Note that currently only private_network is supported.

Create a new Kafka cluster endpoint › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par

Create a new Kafka cluster endpoint › Request Body

cluster_id
​string · required

UUID of the Kafka Cluster.

​scaleway.kafka.v1alpha1.EndpointSpec · required

Endpoint object (EndpointSpec) used to expose your Kafka EndpointSpec.

Create a new Kafka cluster endpoint › Responses

200
id
​string

UUID of the endpoint. (UUID format)

dns_records
​string[]

List of DNS records of the endpoint.

port
​integer · uint32

TCP port of the endpoint.

​

Private Network endpoint details. Precisely one of private_network, public_network can be set.

​

Public endpoint details. Precisely one of private_network, public_network can be set.


Delete a Kafka cluster endpoint

DELETE
https://api.scaleway.com
/kafka/v1alpha1/regions/{region}/endpoints/{endpoint_id}

Delete the endpoint of a Kafka cluster. You must specify the endpoint_id parameter of the endpoint you want to delete. Note that you might need to update any environment configurations that point to the deleted endpoint.

Delete a Kafka cluster endpoint › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
endpoint_id
​string · required

UUID of the endpoint to delete.

Delete a Kafka cluster endpoint › Responses

No data returned