Category: Spring Boot


  • Spring Boot Kafka Consumer Producer Example Tutorial In this tutorial, we will create a Spring Boot Kafka consumer producer example. We will cover the basics of Kafka, how to create a Kafka cluster, and how to produce and consume messages using Spring Boot. Introduction to Kafka Apache Kafka is a distributed streaming platform that is…

  • Mastering Spring Batch Job Parameters and Execution Context Tutorial In this tutorial, we will explore the concept of job parameters and execution context in Spring Batch, a popular batch processing framework for Java applications. We will learn how to use these features to create robust and flexible batch jobs that can handle various input parameters…

  • Building a Spring Boot Microservices Example with Docker In this tutorial, we will explore how to create a Spring Boot microservices example with Docker. We will cover the setup, configuration, and deployment of a simple e-commerce application using microservices architecture. Introduction to Microservices Microservices is an architectural style that structures an application as a collection…

  • By default, Spring boot applications start with embedded tomcat server start on default port 8080. We can change default server port to any other port, using any one of below technique. 1. Update default spring boot server port from application properties file We can do parcels of brilliant things by basically making few passages in application properties record in any spring boot application. Changing server port is one…

  • In the bustling world of multi-user applications, ensuring data integrity becomes paramount. When multiple users contend for the same resource, conflicts can arise, leading to lost updates and unintended side effects. Here’s where pessimistic locking steps in, acting as a valiant knight guarding data consistency in Spring Boot applications. What is Pessimistic Locking? Imagine two…