Execute Kafka Shell Scripts
When working with Kafka, you may need to execute shell scripts to perform administrative tasks. This page describes how to execute Kafka shell scripts.
Before you begin
You need to have a UMH cluster. If you do not already have a cluster, you can create one by using the Management Console.
Open a shell in the Kafka container
From the Pod section in UMHLens / OpenLens, click on united-manufacturing-hub-kafka-0 to open the details page.
Click the Pod Shell button to open a shell in the container.
Navigate to the Kafka bin directory:
Execute any Kafka shell scripts. For example, to list all topics:
./kafka-topics.sh --list --zookeeper zookeeper:2181
To exit the shell: