Skip to content

Instantly share code, notes, and snippets.

@arvindkgs
Created October 28, 2025 08:37
Show Gist options
  • Save arvindkgs/2b77fd91afd4fc9ed3f4556ffb93b541 to your computer and use it in GitHub Desktop.
Save arvindkgs/2b77fd91afd4fc9ed3f4556ffb93b541 to your computer and use it in GitHub Desktop.
[Kafka] Kafka development tips #kafka #local #debug #tips
# WARNING: This will delete all your topics and kafka storage
# Generate UUID
export KAFKA_CLUSTER_ID=`kafka-storage.sh random-uuid`
# Format storage
kafka-storage.sh format -t $KAFKA_CLUSTER_ID -c ~/Software/kafka_2.13-4.0.0/config/server.properties
# Start Server
kafka-server-start.sh ~/Software/kafka_2.13-4.0.0/config/server.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment