Apache Kafka
- Canonical
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
3/stable | 185 | 23 Oct 2024 | |
3/candidate | 188 | 13 Nov 2024 | |
3/beta | 188 | 13 Nov 2024 | |
3/edge | 191 | Yesterday |
juju deploy kafka --channel 3/edge
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
This is part of the Charmed Kafka Tutorial. Please refer to this page for more information and the overview of the content.
Clean up your environment
If you’re done using Charmed Kafka and Juju and would like to free up resources on your machine, you can remove Charmed Kafka, Charmed Zookeeper and Juju.
Warning: when you remove Charmed Kafka as shown below you will lose all the data in Kafka. Further, when you remove Juju as shown below you will lose access to any other applications you have hosted on Juju.
To remove Charmed 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 Kafka, added/removed replicas, added/removed users to/from the cluster, and even enabled and disabled TLS. You may now keep your Charmed Kafka deployment running or remove it entirely using the steps in Remove Charmed Kafka and Juju. If you’re looking for what to do next you can:
- Run Charmed Kafka on Kubernetes.
- Check out our Charmed offerings of PostgreSQL and MongoDB.
- Read about High Availability Best Practices
- Report any problems you encountered.
- Give us your feedback.
- Contribute to the code base