This tutorial demonstrates how to use Spring Boot’s built-in configuration capabilities, including which are the available formats for configuration and how to inject properties from your configuration sources.
admin
Running a Spring Boot application with Docker
In this tutorial we will learn how to run a Spring Boot application using Docker using two different approaches: by setting up a Dockerfile and using a configuration option of Spring Boot Maven plugin.
Manage upload/download of files using REST and Spring Boot
In this tutorial we will learn how to manage the upload and download of files using Spring Boot REST Services. We will use for this purpose Swagger UI to interact with a REST Controller.
How to use Camel HTTP Component
In this tutorial we will learn how to send HTTP Request to a REST Service using Camel and Spring Boot.
Getting started with Apache Kafka
In this tutorial we will learn how to get started with Apache Kafka. We will create a simple set up with a Single Broker Kafka Cluster and produce/consume messages with it.
Monitoring Spring Boot with Micrometer and Prometheus
This tutorial covers how to monitor Spring Boot metrics using Prometheus. We will also learn how to trigger Alerts using the Alert Manager component.
How to use Camel Kafka Component by example
In this article we will learn how to connect to Apache Kafka cluster from a Camel route using the Camel Kafka Consumer and Producer. Start the Zookeeper Server Pre-requisites: You need an available Apache Kafka server. To learn how to install it, you can check this article: Getting started with Apache Kafka The first thing … Read more
Configuring Tomcat Connection Pool on Spring Boot
Spring-Boot supports HikariCP (default), tomcat-jdbc and Commons DBCP as Connection Pool for your Database. Each pool, however, uses a different set of properties. In this tutorial we will learn how to configure the Tomcat Connection Pool.
Configuring Spring Boot to use Log4j
This article introduces you to using Log4j in Spring Boot application by showing the configuration steps you need to put in place and a sample application that uses log4j. Spring Logging at high level Out of the box, Spring Boot configures logging via Logback to log to the console at the level INFO. In most … Read more
Top Spring boot interview questions (2022)
Here is our collection of Spring Boot interview questions which will let you check the level of knowledge of Spring Boot framework from many angles.