소스 검색

Give kafka slightly longer to come up

Should reduce spurious failures where the cluster just isn't ready yet - I wish
there was a better way to actually *ask* the cluster that.
Evan Huus 10 년 전
부모
커밋
4c06d845e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      vagrant/create_topics.sh

+ 1 - 1
vagrant/create_topics.sh

@@ -2,7 +2,7 @@
 
 set -ex
 
-sleep 10
+sleep 12
 
 cd ${KAFKA_INSTALL_ROOT}/kafka-6667
 bin/kafka-topics.sh --create --partitions 1 --replication-factor 3 --topic single_partition --zookeeper localhost:2181