#!/bin/sh

set -ex

sleep 12

cd ${KAFKA_INSTALL_ROOT}/kafka-6667
bin/kafka-topics.sh --create --partitions 1 --replication-factor 3 --topic single_partition --zookeeper localhost:2181
bin/kafka-topics.sh --create --partitions 2 --replication-factor 3 --topic multi_partition  --zookeeper localhost:2181

#!/bin/sh

set -ex

sleep 10

cd ${KAFKA_INSTALL_ROOT}/kafka-6667
bin/kafka-topics.sh --create --partitions 1 --replication-factor 3 --topic single_partition --zookeeper localhost:2181
bin/kafka-topics.sh --create --partitions 2 --replication-factor 3 --topic multi_partition  --zookeeper localhost:2181

sleep 5

Put a sleep *after* the topic creation to give the cluster more time to be healthy in CI
Put a sleep *after* the topic creation to give the cluster more time to be healthy in CI
