spring-cloud / spring-cloud-stream-samples

Samples for Spring Cloud Stream
Apache License 2.0
959 stars 677 forks source link

Kafka Streams with RabbitMQ only #186

Open LeoPote opened 4 years ago

LeoPote commented 4 years ago

Hello,

Could be used Kafka Streams with RambbitMQ only?

I mean something like this:

  1. Producer - publish data to a Rabbit queue: Supplier< Flux < Object1 > > publish() { ... }
  2. Processor - process the data coming from Rabbit queue and publish it into another Rabbit queue: Function<KStream<?, Object1>, KStream<?, Object2>> process() { ... }
  3. Consumer - consume data from the new Rabbit queue: Consumer< Object2 > consume() { ... }

If so, how should be the configuration?

I tried somethig like this, but doesn't work: image

Thank you