mirror of
https://gitee.com/johng/gf
synced 2026-07-08 14:39:50 +08:00
16 lines
318 B
Bash
Executable File
16 lines
318 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
for i in 1 2 3 4 5; do
|
|
KAFKA_PORT=`expr $i + 9090`
|
|
cd ${KAFKA_INSTALL_ROOT}/kafka-${KAFKA_PORT} && bin/kafka-server-stop.sh
|
|
done
|
|
|
|
for i in 1 2 3 4 5; do
|
|
KAFKA_PORT=`expr $i + 9090`
|
|
cd ${KAFKA_INSTALL_ROOT}/kafka-${KAFKA_PORT} && bin/zookeeper-server-stop.sh
|
|
done
|
|
|
|
killall toxiproxy
|