Spring Cloud Stream is a nice tool we can use to build event-driven microservices. This demo goes over how to use spring cloud stream with RabbitMQ. The main components for spring cloud stream are the source, processor and consumer.
Processor: Transforms and/or filters incoming data streams. Can perform operations like aggregation, filtering, and mapping of data.
Spring Cloud Stream: https://spring.io/projects/spring-clo... \
Spring Cloud Stream Reference Documentation: https://docs.spring.io/spring-cloud-s...
Requirements
Java 17
RabbitMQ (https://www.rabbitmq.com/docs/install...)
PostgreSQL (https://www.postgresql.org/download/)
Source Code:
https://github.com/shahidfoy/spring-c...