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…

Testing Spring Boot Kafka with Testcontainers

In this tutorial, I will explain how to do integrating testing of spring boot , kafka applications using Testcontainers. In my previous blog post I have covered how to write Kafka producer and consumer application using Spring Boot framework. Now, we will write integration tests for testing the logic of producer and consumer application and…

Spring Boot integration testing with Testcontainers

Springboot provides excellent support for unit testing and integration testing. I have covered how to do unit testing for Springboot controllers in various ways in one of my previous articles. While doing unit testing we try to test a single method while mocking all the dependencies. While doing integration testing we see that interaction between…