End the Scripted Demo¶
Stop the Confluent Platform Environment¶
Stop the consumer group
app
to stop consuming from topicwikipedia.parsed
. Note that the command below stops the consumers gracefully withkill -15
, so the consumers follow the shutdown sequence../scripts/app/stop_consumer_app_group_graceful.sh
Stop the Docker environment, destroy all components and clear all Docker volumes.
./scripts/stop.sh
Stop the Confluent Cloud Environment¶
If you ran the Module 2: Deploy Hybrid Confluent Platform and Confluent Cloud Environment portion of this tutorial, which included creating resources in Confluent Cloud, follow the clean up procedure below to avoid unexpected Confluent Cloud charges.
Any Confluent Cloud example uses real Confluent Cloud resources. After you are done running a Confluent Cloud example, manually verify that all Confluent Cloud resources are destroyed to avoid unexpected charges.
Make sure that you’re still using the
ccloud
CLI context.confluent context use ccloud
Delete the Confluent Cloud service account you created for the cluster link. This will also delete all API keys associated with the account.
confluent iam service-account delete ${SERVICE_ACCOUNT_ID}
Destroy your Confluent Cloud ksqlDB cluster. Go to https://confluent.cloud/environments -> Select cp-demo-cluster -> ksqlDB -> Select “delete”.
Destroy your Confluent Cloud cluster. Go to https://confluent.cloud/environments -> Select cp-demo-cluster -> Cluster Overview -> Cluster Settings -> Select “Delete cluster”.
Destroy your Confluent Cloud environment. Go to https://confluent.cloud/environments and delete the environment “cp-demo-env” that you created.
Note
The Health+ cluster will be shown in the Confluent Cloud Console until it ages out.