I want to write tests for spring kafka producer and consumer. I have tried multiple ways:
- EmbeddedKafka annotation
- EmbeddedKafkaRule
- EmbeddedKafkaBroker etc...
Every time I get one or the other error and all the examples posted on GitHub don't seem to run at all. I checked the spring kafka versions for compatibility as well.
Can someone share an example code base that was recently written and has seen it run successfully?