Spring Boot

Structured Logging with Spring Boot and Amazon CloudWatch

The primary purpose of logging in applications is to debug and trace one or more root causes of an unexpected behavior.

Read more

Testing Time-Based Features with Feature Flags

Time-based features in a software application are a pain to test. To test such a feature, you can (and should) write unit tests, of course.

Read more

Exposing a Helpful Info Endpoint with Spring Boot Actuator

In a distributed, fast-paced environment, dev teams often want to find out at what time they deployed the app, what version of the app they deployed, what Git commit was deployed, and more.

Read more

Protect Your Code from NullPointerExceptions with Spring’s Null-Safety Annotations

NullPointerExceptions (often shortened as “NPE”) are a nightmare for every Java programmer. We can find plenty of articles on the internet explaining how to write null-safe code.

Read more

Tracing with Spring Boot, OpenTelemetry, and Jaeger

In a distributed system, many services can be involved in creating a response to a single request. Not only for debugging purposes it’s essential that the path of such a request can be traced through all involved services.

Read more

Complete Guide to Spring RestTemplate

REST-styled APIs are all around us. Many applications need to invoke REST APIs for some or all of their functions. Hence for applications to function gracefully, they need to consume APIs elegantly and consistently.

Read more