summaryrefslogtreecommitdiff
path: root/shell_scripts/kafka_storage_format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shell_scripts/kafka_storage_format.sh')
-rw-r--r--shell_scripts/kafka_storage_format.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell_scripts/kafka_storage_format.sh b/shell_scripts/kafka_storage_format.sh
new file mode 100644
index 00000000..c6cceb80
--- /dev/null
+++ b/shell_scripts/kafka_storage_format.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+/opt/confluent/bin/kafka-storage format -t 2vi2WtHxQAOPyXb1Bj1Jvw -c /opt/confluent/etc/kafka/server.properties --standalone > /dev/null 2>&1; echo 0