0

What happens if I use a non-reactive Kafka producer in service A and a reactive consumer in service B?

1 Answers1

0

The frameworks used don't matter for Kafka since at the internal library, it's all the same producer and consumer classes and TCP packets being transferred

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
  • not clear from above answer, Is it recommend to use reactive kafka consumer with non-reactive producer? – Shubham Kumar Dec 12 '21 at 07:31
  • It doesn't matter, so there's no recommendation. If you have a more specific question about how the library handles backpressure and throughput, then that matters – OneCricketeer Dec 12 '21 at 14:14