
Configure Feign Client in Spring Boot
In this article, we’ll learn how to configure a FeignClient in your Spring Boot project to consume RESTFul APIs from other services.
In this article, we’ll learn how to configure a FeignClient in your Spring Boot project to consume RESTFul APIs from other services.
In this article, we’ll learn to build RESTFul APIs in Spring Boot Web Application using layered architecture and test driven development approach.
In this article, we’ll learn how to create a Spring Boot project quickly from scratch use Spring Initializer.
In this quick tutorial, we’ll configure embedded Jetty server by replacing it with default Tomcat server in Spring Boot web application.
When we create RESTFul APIs in spring boot application in microservices environment. It becomes essential to log incoming API request and response and push it to centralized logging system such as Splunk or ELK for debugging. Also all the logs related to one request should have some common id to relate them. In this post we are going to solve these problems.
In spring boot microservices based application, where microservices talks to each other using RESTFul APIs. We can expose some important information about microservice such as name, version, description over some endpoints say /info and also realtime status or health over some endpoint say /health to create application dashboards, realtime alerts, track microservice updates and so on…
In this quick article, we’ll learn how to pretty print JSON response in Spring Boot web application using Jackson property.
This post describes how to configure Kafka producer and consumer in spring boot application and also explains how to create service classes to send and receive Kafka messages to and from configured kafka topic respectively.
Swagger library is useful if you are creating REST services in spring boot web application. Swagger user interface allows you to view REST services and execute GET, POST, PUT, DELETE HTTP endpoints. This is helpful since you do not need to use Postman or some other tool to test REST Apis.
Follow these steps to configure swagger in your spring boot application:-
Spring boot application comes with default banner which shows up first when you start your application.
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.3.RELEASE)
You can replace above banner with your self made custom banner in following two easy steps:-