#!/bin/sh set -ex # Launch and wait for toxiproxy ${REPOSITORY_ROOT}/vagrant/run_toxiproxy.sh & while ! nc -q 1 localhost 2181 &2 find "${KAFKA_INSTALL_ROOT}" -name "server.log" -print0 | xargs tail -256 exit ${RC} fi