Spring Boot 3 Actuator Essentials

Spring Boot Actuator is a powerful module that enables monitoring and managing Spring Boot applications effortlessly. In this tutorial, we’ll walk through the fundamentals of Spring Boot 3 Actuator, from installation to understanding its essential endpoints.

Read more

How to run Apache Kafka with Docker

In this article we will learn how to run Apache Kafka as Docker image using Docker Compose, which allows to manage multiple Container Images. Firstly, we will show how to run Kafka with Zookeeper and Docker. Then, we will show how to run Apache Kafka KRaft with Docker.

Read more

SpringBoot on Kubernetes with Helm Charts

Kubernetes has become the de facto standard for container orchestration, allowing you to efficiently manage and scale containerized applications. Helm, on the other hand, is a powerful tool for simplifying the deployment of Kubernetes applications using packages called charts. In this article, we’ll walk through the process of deploying a Spring Boot application on an Enterprise Kubernetes such as OpenShift using Helm charts.

Read more

How to solve Unable to find a @SpringBootConfiguration in your Test

When running Spring Boot tests using annotations like @SpringBootTest or @DataJpaTest, Spring Boot needs to find the main configuration class (annotated with @SpringBootApplication or @Configuration) to set up the application context properly. If Spring Boot cannot find the configuration class, it throws the error “Unable to find a @SpringBootConfiguration,” and the tests fail to execute.

Read more

Spring JdbcClient made simple

The Spring JdbcClient API is a new addition to Spring 6, providing a more modern and streamlined way to interact with databases using Spring JDBC. It aims to simplify database operations by offering a fluent API for executing SQL queries and updates.

Read more