When a remote service is down the Circuit Breaker pattern prevents a cascade of failures. After a number of failed attempts, we can consider that the service is unavailable/overloaded and...
When you create an AsyncRestTemplate, Spring uses SimpleClientHttpRequestFactory by default which depends on default configuration of HttpURLConnection. This implementation doesn’t have connection pooling.
Recently we have found some problems trying to log a complete Request and Response in a Spring Application. When we talk about a “complete Request and Response” we are indicating...
In this post we’re going to configure Undertow as embedded server in our Spring Boot Application. Then we’ll trace in logs all the requests and responses of our controllers.
Mosquitto is a message broker that implements the MQTT protocol. MQTT is very used in IOT to share info between devices. In this post we will simulate a communication between...