-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix flaky kafka cluster example #4549
Conversation
Our observations so far: the I'm still considering the hypothesis that startup is just taking too long, since it involves pulling the image and then starting N instances of Kafka in parallel (25s+ just to start the container looks really long). If |
I think this is it: Kafka being started at 08:57:31.423:
First failure logged at 08:58:01.917:
This lines up with the 30s timeout applied in |
I would approve this, once out of draft state 🙂 |
Have tidied up and updated the PR description. |
examples/kafka-cluster/src/test/java/com/example/kafkacluster/KafkaContainerCluster.java
Show resolved
Hide resolved
…KafkaContainerCluster.java Co-authored-by: Kevin Wittek <[email protected]>
Fixes #4479
I believe the original issue relates to the GitHub Actions runners simply not being powerful enough to launch 3 instances of Kafka in parallel, within reasonable startup time limits
KafkaContainer
to emit full exec stdout/stderr/exit code in case of akafka-configs
failure.