Merge remote-tracking branch 'origin/3.6.1-code-conventions' into 3.6.1-code-conventions

This commit is contained in:
Gordon 2024-04-10 12:11:58 +08:00
commit 2ac461d6a7

View File

@ -24,7 +24,6 @@ attempt_num=1
echo "Waiting for Kafka to be ready..."
# 尝试连接Kafka服务最多重试MAX_ATTEMPTS次
until /opt/bitnami/kafka/bin/kafka-topics.sh --list --bootstrap-server $KAFKA_SERVER; do
echo "Attempt $attempt_num of $MAX_ATTEMPTS: Kafka not ready yet..."
if [ $attempt_num -eq $MAX_ATTEMPTS ]; then