Kafkatorio/modules/infra-kafka-cluster/src/entrypoint.sh

10 lines
214 B
Bash
Raw Normal View History

#!/bin/bash
2022-06-24 15:01:24 +02:00
# Format storage directories
2022-06-24 15:10:40 +02:00
./bin/kafka-storage.sh format \
2022-06-24 14:49:52 +02:00
--ignore-formatted \
--config ./server.properties \
--cluster-id "$(cat cluster_id)"
./bin/kafka-server-start.sh ./server.properties