0

I want to write tests for spring kafka producer and consumer. I have tried multiple ways:

  1. EmbeddedKafka annotation
  2. EmbeddedKafkaRule
  3. 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?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
user15262796
  • 1
  • 1
  • 1
  • Please read [How to ask](https://stackoverflow.com/help/how-to-ask) and update your question. – fartem Mar 11 '21 at 04:42