Search code examples
javaspring-kafkareactor

How do you use a @KafkaListener annotated method with a Flux or Mono?


How do you use a @KafkaListener annotated method with a Flux or Mono?


Solution

  • You cannot; it is not yet supported; we are hoping to look at it this year; contributions are welcome.

    In the meantime, take a look at the reactor-kafka project.