-
Notifications
You must be signed in to change notification settings - Fork 240
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
[Error] reuseContainer does not work for embedded-kafka #1128
Comments
Hi @arturk9, Could you try version 3.0.0-RC5 and give feedback if the problem is gone ? |
hello @Fameing Once upgraded to 3.0.0-RC5, both containers mongo and kafka are not reused. I did some debugging, seems like the configuration is correct and "shouldBeReused" flag is set to true properly for both containers, but each execution still spawns new containers. After upgrading, not only new kafka container is created, but it seems like mongodb is no longer reusable. The following condition is also evaluated as true: Is there anything I am missing in the config? |
Hi @arturk9 and @Fameing |
Thank you, |
@Fameing Thanks in advance! |
@arturk9 @Fameing |
Hello,
It seems like embedded-kafka keeps spawning new containers, even if reuseContainer flag is set to true. Please take a look at the code sample below:
https://github.com/arturk9/kafka-reuse-demo
Reproduction steps:
Would it be possible to add support for embedded-kafka containers reuse?
Thank you in advance :)
The text was updated successfully, but these errors were encountered: