projects
/
demos
/
kafka
/
deduplication
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29eac6d
)
Added generated *.txt files to clean-up
author
Kai Moritz
<kai@juplo.de>
Sat, 10 Oct 2020 16:29:32 +0000
(18:29 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sat, 10 Oct 2020 19:35:42 +0000
(21:35 +0200)
README.sh
patch
|
blob
|
history
diff --git
a/README.sh
b/README.sh
index
00383c4
..
dcd632a
100755
(executable)
--- a/
README.sh
+++ b/
README.sh
@@
-4,6
+4,7
@@
if [ "$1" = "cleanup" ]
then
docker-compose down
mvn clean
+ rm *.txt
exit
fi
@@
-18,6
+19,11
@@
fi
docker-compose up -d zookeeper kafka
+if [ ! -e data.txt ];
+then
+ echo ./create-data.sh
+fi
+
while ! [[ $(zookeeper-shell zookeeper:2181 ls /brokers/ids 2> /dev/null) =~ 1001 ]];
do
echo "Waiting for kafka...";