Spring Boot RabbitMQ Direct Exchange Example

In this tutorial, we’ll go through the step by step guide to implement messaging using RabbitMQ in a Spring Boot Application and will see how to publish and consume messages in a queue using RabbitMQ. What is a RabbitMQ? RabbitMQ is an enterprise-grade messaging platform that is used to send and receive messages at a scale…

Complete Guide to Database Migrations with Flyway and Spring Boot

In this blog post , I’ll show you how to use Flyway database migrations with Spring Boot. I’ll walk you through the process of setting up Flyway, creating migrations, and migrating your database. What is Database Migration ? Let’s say that we’re developing a web application that’s going to use a Postgres database. If we…

Spring Boot – Generate REST API Documentation with Swagger

In this blog post, we will see how to integrate Swagger into Spring Boot application to generate API documentation and REST client. What is Swagger? Swagger is a specification for describing REST APIs in a format that’s easy to read, understand, and interact with. It allows you to generate documentation for your API, including path…

How to Publish Subscribe to Kafka with Spring Boot and SASL/SCRAM

In this blog post, I will explain how to connect from Spring Boot application with Kafka cluster which is using SASL/SCRAM authentication. In one of previous blog post , I have already covered connecting SpringBoot applications with Kafka cluster. The example covered was using different authentication mechanism. What is SASL/SCRAM Kafka supports different authenticate protocols. GSSAPI…