In this course, you will learn:
- How to build RabbitMQ Producer and Consumer to exchange different formats of data such as String and JSON. - How to use RabbitMQ as a message broker for Async communication between multiple Microservices (Event-Driven Architecture).
In this course, we are going to use Spring boot 3 latest release. If you want to use RabbitMQ in Spring boot event-driven microservices then this course is useful for you.
What is the Spring Boot?
Spring Boot is an extension of the Spring framework that eliminated the boilerplate configurations required for setting up a Spring application.
Spring Boot is an opinionated framework that helps developers build Spring-based applications quickly and easily. The main goal of Spring Boot is to quickly create Spring-based applications without requiring developers to write the same boilerplate configuration again and again.
What is RabbitMQ?
RabbitMQ is an open-source message broker software. It accepts messages from producers and delivers them to consumers. It acts like a middleman which can be used to reduce loads and delivery times taken by web application servers.
RabbitMQ uses Advanced Messaging Queuing Protocol (AMQP) for the secure transfer of messages.
Use of RabbitMQ in Microservices
RabbitMQ is one of the simplest freely available options for implementing messaging queues in your microservices architecture. These queue patterns can help to scale your application by communicating between various microservices. We can use these queues for various purposes, such as the interaction between core microservices, decoupling of microservices, implementing failover mechanisms, and sending email notifications via message brokers.
What is event-driven architecture?
Event-driven architecture (EDA) is a software design pattern in which decoupled applications can asynchronously publish and subscribe to events via an event broker/message broker.
In an Event-Driven Architecture, applications communicate with each other by sending and/or receiving events or messages
What you will learn?
Learn RabbitMQ Core Concepts
Learn how to integrate RabbitMQ in the Spring boot application
Learn how to create RabbitMQ Queue, Exchange, Binding, Producer, and Consumer
Learn how to exchange string messages between Producer and Consumer using the RabbitMQ broker
Learn how to create Multiple Queues in the RabbitMQ broker
Learn how to exchange JSON messages between Producer and Consumer using the RabbitMQ broker
Learn how to create Event-Drive Microservices using Spring boot and RabbitMQ
Learn how to use RabbitMQ as a Message broker for Async communication between multiple Microservices
Tools and Technologies used in this course:
Technologies:
Java 17+
Spring Boot 3+
Tomcat
Messaging Broker:
RabbitMQ
IDE:
Intellij IDEA
Tools:
Postman - Test REST APIs
Maven - Build Tool