Fixing Kafka service in OSBDET 2023 R1

Hi there,

I’m stopping by to share a quick recipe to fix the Kafka service some of the OSBDET users are having. Kudos to Gustavo Martín for realizing and reporting this issue which let me work on it and avoid any impact on my students 🙂

From a terminal window from the Jupyter Notebook in the course environment, you need to use the following commands:

KAFKA_CLUSTER_ID="$(/opt/kafka/bin/kafka-storage.sh random-uuid)"
su - osbdet -c "/opt/kafka/bin/kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c /opt/kafka/config/kraft/server.properties"

As usual, a video is worth a million words and here you have a short video guiding you through the process:

Good luck!

Raúl

Leave a comment