[fix] Ensure Kafka broker is started before running integration tests #5148
Labels
good first issue
Good for beginners
help wanted
Features that maintainers are willing to accept but do not have cycles to implement
Kafka integration tests started failing frequently. I suspect our
scripts/kafka-integration-test.sh
script is not waiting until Kafka is properly started. We need to find a more reliable check.There are a bunch of scripts available in the container:
We can probably use one of them to more reliably check for running server, e.g.
kafka-topics.sh
orkafka-broker-api-versions.sh
, or even read & write a test message viakafka-console-producer.sh
andkafka-console-consumer.sh
.Some documentation on how to run the container is available from bitnami: https://github.com/bitnami/containers/tree/main/bitnami/kafka#how-to-use-this-image
The text was updated successfully, but these errors were encountered: