Spring Boot Custom Validation With Examples

Spring Boot Validation module provides a number of built-in validators for request validation as covered in my previous tutorial . In some cases built-in validations may not be sufficient. In such cases you can easily create custom validations to validate the request. In this tutorial, I will explain step by step process to create custom…

Complete Guide to Spring Boot Validation

Spring Boot offers comprehensive support for Request validation using the Bean Validation specification. With Spring Boot, you can quickly add validation to your existing classes with minimal effort. We’ll also take a look at how we can use validation groups to invoke different validations in different use cases. We will also show you how to…

Run MySQL Database with Docker

This tutorial will show you how to setup and run MySQL database with Docker. MySQL is the world’s most popular open source database. MySQL database is available in community and Enterprise edition. We can install MySQL community edition on our systems by downloading corresponding installation files from official website. Instead of installing as native application…

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…