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: spring.io/projects/spring-cloud-stream \
Spring Cloud Stream Reference Documentation: docs.spring.io/spring-cloud-stream/docs/current/re…
Requirements
Java 17
RabbitMQ (www.rabbitmq.com/docs/install-windows#dependencies)
PostgreSQL (www.postgresql.org/download/)
Source Code:
github.com/shahidfoy/spring-cloud-stream-demo
コメント