SpringBoot
-
Apache Kafka for Architects: From Concepts to Production Patterns
A hands-on guide built around a real microservices system — order processing, notification fan-out, multi-broker clustering, and delivery guarantees. 1. Why Kafka? The Paradigm Shift Traditional message queues (RabbitMQ, ActiveMQ, SQS) are built around a simple model: Kafka rejects…
-
Caching AWS Session Object using Spring Cache
Implementing caching for AWS sessions is crucial to improve performance, achieved by minimizing configuration loading. After migrating to Spring Boot, I utilized Spring Cache abstraction while retaining the Google Guava…
-
Factory design pattern using Java annotation, IoC and Springboot
Factory pattern is a creational pattern where the logic of creating an object of the class resides in a factory class, in this article, we will see how to implement…
-
Scoped Bean Prototype Bean problem: Springboot
In Springboot when a bean is created, by default it is Singleton but if you annotate the bean with the scope as “prototype” still the bean are singleton in some…
-
Infinite Loop with ApplicationReadyEvent – Spring Boot
In my previous post, I wrote about running infinite loop in Java and also I mention that it was not recommended way of doing and wrote an alternate way with Spring boot…
-
A better way to handle the infinite loop
In my previous post, I wrote about running infinite loop in Java and also I mention that it was not recommended way of doing and here is the alternative Instead…
-
Centralized config server for the distributed application using Spring Boot
Spring Cloud Config Spring Cloud Config provides server-side and client-side support for externalized configuration in a distributed system. With the Config Server, you have a central place to manage external…
-
Encoded slash (%2F) with Spring URL path param gives HTTP 400
I am working on a new hobby project RESTifying the ZFS APIs, Earlier I was using play framework for my REST projects, now started using SpringBoot While RESTifying the ZFS…
-
Optional Path Variable with Spring Boot Rest
I have created my own annotation with default values set overriding the existing defaults In request parameters @RequestParam you can set the required parameters, I am implementing the Get Users…