Tutorial¶
The Charmed Apache Kafka K8s Operator delivers automated operations management from Day 0 to Day 2 on the Apache Kafka event streaming platform. It is an open source, end-to-end, production-ready data platform on top of Juju. As a first step this tutorial shows you how to get Charmed Apache Kafka K8s up and running, but the tutorial does not stop there. Through this tutorial, you will learn a variety of operations, everything from adding replicas to advanced operations such as enabling SSL encryption, cross-cluster asynchronous replication and more.
In this tutorial, we will walk through how to:
Set up your local environment using Multipass, MicroK8s and Juju.
Deploy Charmed Apache Kafka K8s using only a few commands.
Get the admin credentials directly.
Add high-availability with replication.
Change the admin password.
Automatically create Apache Kafka users via Juju relations.
Use Cruise Control for cluster rebalancing.
Use Apache Kafka Connect for moving data between data applications.
While this tutorial intends to guide and teach you as you deploy Charmed Apache Kafka K8s, it will be most beneficial if you already have a familiarity with:
Basic Unix shell commands.
General data-intensive application concepts such as partitioning, replication and user management.
Minimum requirements¶
Before we start, make sure your machine meets the following requirements:
Ubuntu 24.04 (Noble) or later.
8GB of RAM.2CPU cores.At least
20GB of available storage.Access to the internet for downloading the required snaps and charms.