Building a Distributed Online Store with Spring Boot, RabbitMQ, and OpenTelemetry

In this post, we’ll walk through the architecture and implementation of a simple microservices-based online store built with: Microservices Architecture Our online store is made up of the following services: Service Responsibility catalog-service Manages products (name, price) order-service Handles orders, triggers workflow events inventory-service Reserves stock when an order is placed payment-service Simulates payment processing … Read more

Centralized Logging with Spring Boot and MongoDB using Logback

Introduction As applications grow in complexity and scale, traditional file-based logging can become difficult to manage and analyze. Logging to an external source offers a scalable, queryable, and centralized logging solution. This approach enables better log data analysis and aggregation, providing insights into application performance and helping quickly diagnose issues. In this post, I will … Read more

Spring AOP Recipies

Overview Spring AOP is a power tool to help you separate the cross-cutting concern from your main logic. This post provides some recipes to help you get started quickly with AOP. The annotations Here is a quick introduction to the annotations you can use in AOP: Annotation Description @Before Executes before the advised method is … Read more