Stopping and starting clusters
If necessary, you can stop and restart Apache Kafka® clusters. When a cluster is stopped, all data in it is retained: it will be available again when you restart the cluster.
Stop a cluster
Management console
API
To stop all hosts in the cluster:
- Go to the folder page and select Managed Service for Apache Kafka®.
- Find the cluster in the list and click , and select Stop cluster.
- In the dialog box that opens, confirm that you want to stop the cluster and click Stop.
Use the stop API method to stop all cluster hosts: pass the ID of the required cluster in the clusterId
request parameter.
To find out the cluster ID, get a list of clusters in the folder.
Start a cluster
You can restart STOPPED
clusters.
Management console
API
To start a cluster:
- Go to the folder page and select Managed Service for Apache Kafka®.
- Find the stopped cluster you need in the list and click , and select Start cluster.
- In the window that opens, click Start.
To start a cluster, use the start API method: pass the ID of the required cluster in the clusterId
request parameter.
To find out the cluster ID, get a list of clusters in the folder.