Apache Kafka

Channel Revision Published Runs on
3/stable 185 23 Oct 2024
Ubuntu 22.04
3/candidate 195 Yesterday
Ubuntu 22.04
3/beta 194 03 Dec 2024
Ubuntu 22.04
3/edge 193 26 Nov 2024
Ubuntu 22.04
juju deploy kafka --channel 3/edge
Show information

Platform:

Ubuntu
22.04

This is part of the Charmed Apache Kafka Tutorial. Please refer to this page for more information and an overview of the content.

Clean up your environment

If you’re done using Charmed Apache Kafka and Juju and would like to free up resources on your machine, you can remove Charmed Apache Kafka, Charmed Apache Zookeeper and Juju.

Removing Charmed Apache Kafka as shown below will delete all the data in the Apache Kafka. Further, when you remove Juju as shown below you lose access to any other applications you have hosted on Juju.

To remove Charmed Apache Kafka and the model it is hosted on run the command:

juju destroy-model tutorial --destroy-storage --force

Next step is to remove the Juju controller. You can see all of the available controllers by entering juju controllers. To remove the controller enter:

juju destroy-controller overlord

Finally to remove Juju altogether, enter:

sudo snap remove juju --purge

What’s next?

In this tutorial, we’ve successfully deployed Apache Kafka, added/removed replicas, added/removed users to/from the cluster, and even enabled and disabled TLS. You may now keep your Charmed Apache Kafka deployment running or remove it entirely using the steps in Remove Charmed Apache Kafka and Juju. If you’re looking for what to do next you can: