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

How to run Apache Kafka without Zookeeper

This tutorial will teach you how to run Apache Kafka in KRaft mode which does not require a Zookeeper server to manage the cluster capablities. We will learn at first how does the Kafka KRaft mode work and then we will learn how to create a cluster without using Zookeeper.

Read more