Issue
I have simple spring boot kafka listener. And i want to test it.
What are drawbacks of testing using embedded kafka VS testing with test containers kafka? Im familliar with testcontainers, it provides fully dunctional kafka. What are limitations of embedded kafka compared to container?(Concrete examples pls)
Solution
I am not aware of any limitations at all with the embedded broker.
It was created long before the TestContainers Kafka module.
One benefit is that it can be configured to auto-provision topics used by the tests.
Another benefit is you can easily create a cluster if needed.
Answered By - Gary Russell
Answer Checked By - Senaida (JavaFixing Volunteer)