Apache Kafka 4 · Start a broker (KRaft)

Generate a cluster ID

Create a random ID for a new cluster.

KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)"

Official Apache Kafka 4 documentation

More start a broker (kraft) commands

All start a broker (kraft) commands · Apache Kafka 4 cheatsheet

Was this page helpful?