Mastering Polymorphic Data in Spring Kafka with Avro with Dedicated Topics
As a software architect, designing robust, scalable, and adaptable distributed systems is a constant pursuit. When working with Apache Kafka, a common challenge arises: how do you send messages that,…
Using java.util.stream.Collector
You will find plenty of articles on how to create your own Collector, and calling Streams.collect() with a collector to gather the data into a collection. Learn how to add…
Spring CORS Configuration: A Comprehensive Guide
Cross-Origin Resource Sharing (CORS) is a security mechanism that browsers implement to restrict web pages from making requests to a different domain than the one that served the web page.…
Java’s missing TreeMap
One thing I have always found lacking in Java collections/containers is TreeMap. A simple class that takes a hierarchical approach to mapping data to a node. Given a hierarchical string…
Load Balancing in Spring: Gateway & Discovery
Load balancing is crucial in modern applications to distribute traffic across multiple instances of a service, ensuring high availability and fault tolerance. Spring provides robust mechanisms for load balancing, both…
Beyond the Basics: Optimizing Your Spring Boot Applications for Performance – Fine-tune your application for speed and efficiency.
Absolutely! Here’s a blog article on optimizing Spring Boot applications, aimed at those who already have some experience with the framework: Beyond the Basics: Optimizing Your Spring Boot Applications for…
Deep Dive into Spring’s Message Conversion: Custom Message Converters and Their Role in Serialization/Deserialization
When working with Spring applications, particularly those that deal with messaging, REST APIs, or data interchange, understanding message conversion is crucial. Spring provides a powerful framework for handling serialization and…