From the course: Data Resilience with Spring and RabbitMQ Event Streaming

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Consuming reliably with Spring and RabbitMQ quorum queues

Consuming reliably with Spring and RabbitMQ quorum queues

From the course: Data Resilience with Spring and RabbitMQ Event Streaming

Consuming reliably with Spring and RabbitMQ quorum queues

- [Instructor] Now, let's build on what we've learned so far. In this video, I'll connect a Spring application to demonstrate consuming messages reliably from RabbitMQ using Quorum queues. All of the examples in this course are available on the course GitHub site. The code requires version Java 17 or higher. The Apache Maven build tool is used for compiling the Java code. But I also use the IntelliJ editor to show you some of the example code. The account balance application creates the exchange, binding rules, and quorum queues in RabbitMQ. I'll use the Rabbit Management Console to submit payments in JSON format to the created exchange. The payment will be passed to the PaymentConsumer Spring Cloud Function. Spring Cloud Streams will handle the communication with Rabbit for the PaymentConsumer. The account balance app will use a caching database. The database that I'll use in this example is called Valkey. It's an open-source database that is based on another popular commercial…

Contents