Kafkatorio/modules/infra-kafka-cluster/src/entrypoint.sh
2022-06-24 15:10:40 +02:00

9 lines
214 B
Bash

#!/bin/bash
# Format storage directories
./bin/kafka-storage.sh format \
--ignore-formatted \
--config ./server.properties \
--cluster-id "$(cat cluster_id)"
./bin/kafka-server-start.sh ./server.properties