user15262796
user15262796

Reputation: 1

Integration tests for spring kafka producer and consumer

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?

Upvotes: 0

Views: 3811

Answers (1)

Related Questions