I have a simple spring boot kafka listener. And i want to test it.
What are the drawbacks of testing using embedded kafka VS testing with test containers kafka? Im familiar with testcontainers, it provides fully functional kafka. What are the limitations of embedded kafka compared to test containers?(Concrete examples pls)
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.