0
votes

Can I create Spring Boot Application which is Spring Cloud Stream App having both the bindings Sink and Source?

2

2 Answers

0
votes

Such an app would seat in the middle of a stream, and this is called a Processor in Spring Cloud Stream / DataFlow lingo.

See this explanation in the reference documentation.

0
votes

A processor will pass the message from inbound queue to outbound queue with some transformation based on the binding. A processor will not act as a sink or source. What is the requirement for having both source and sink in one app.