mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
fix: restore ZK, use confluentinc/cp-zookeeper:7.5.0 + cp-kafka:7.5.0 (both locally available)
Former-commit-id: 8fffa72c508a4008e2d7790a307eb1e2e4602cde
This commit is contained in:
@@ -51,7 +51,7 @@ log_ok "MySQL: $MYSQL_HOST:$MYSQL_PORT OK"
|
||||
|
||||
# 端口冲突
|
||||
CONFLICT_PORTS=""
|
||||
for port in 8500 6379 9092 8090 18080 18081 16106 17011 3721; do
|
||||
for port in 8500 6379 9092 2181 8090 18080 18081 16106 17011 3721; do
|
||||
if ss -tlnp 2>/dev/null | grep -q ":$port "; then
|
||||
CONFLICT_PORTS="$CONFLICT_PORTS $port"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user