format kafka cluster in entrypoint
This commit is contained in:
parent
62f37353ba
commit
b155bb8bc1
2 changed files with 9 additions and 2 deletions
6
modules/infra-kafka-cluster/src/entrypoint.sh
Normal file
6
modules/infra-kafka-cluster/src/entrypoint.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
./bin/kafka-storage.sh format \
|
||||
--ignore-formatted \
|
||||
--config ./server.properties \
|
||||
--cluster-id "$(cat cluster_id)"
|
||||
|
||||
./bin/kafka-server-start.sh ./server.properties
|
||||
Loading…
Add table
Add a link
Reference in a new issue