gRPC Spring Boot Integration

Overview: In this tutorial, I would like to show you the gRPC Spring Boot Integration for inter microservices communication. gRPC is a RPC framework implementation from google for client-server application development.  We have discussed gRPC, protobuf and their advantages for inter microservices communication in these articles before. If you have not read them, check them […]

gRPC – An Introduction Guide

Overview: In this tutorial, I would like to introduce you to the modern RPC framework from google called gRPC. It is one of the hottest technologies right now! Need For gRPC: Microservices are the popular way to design distributed systems. A big monolith application is broken down into multiple independent Microservices. These Microservices have few

gRPC – An Introduction GuideRead More »

Protobuf / Protocol Buffers – A Simple Introduction

Overview: In this tutorial, I would like to introduce you to the Protobuf / Protocol Buffers –  an interface definition language or interface description language (IDL)! IDL is a specification which describes software component’s API in a language-neutral way. Problems With JSON: In a distributed systems architecture, 1 microservice written in Java might want to

Protobuf / Protocol Buffers – A Simple IntroductionRead More »

Java Reactive Programming – SwitchOnFirst Usage

Overview: In this Project reactor series, Lets take a look at switchOnFirst and its usage. If you are new to reactive programming, take a look at these following articles in the given order. Reactive Programming – A Simple Introduction Reactive Programming – Creating Sequences – Flux vs Mono Reactive Programming – Publisher Types – Cold

Java Reactive Programming – SwitchOnFirst UsageRead More »

Cucumber With Spring Boot – Brand New Udemy Course

Dear Readers, Please check this out – a new course on cucumber and Spring Boot on Udemy.  Use this link – to get special discount.  10 hours course which you make feel very comfortable with Spring Boot & Cucumber.   What you will learn: Automatic dependency injection Manage the WebDriver instance Manage Page objects / fragments Executing tests in multiple test

Cucumber With Spring Boot – Brand New Udemy CourseRead More »

Kubernetes Init Container Pattern

Overview Design Patterns serve as reusable and replicable solutions for common challenges in software and architectural design. They advocate for the development of highly cohesive and loosely coupled applications. In today’s era of microservices, these patterns extend beyond traditional software design and find application in infrastructure and deployment. This article explores one such design pattern—the

Kubernetes Init Container PatternRead More »

MicroServices – How To Share DTO (Data Transfer Objects)

Overview: Over the years, MicroServices have become very popular. They are smaller, modular, easy to deploy and scale etc. However MicroService architectures do have some challenges. MicroServices have specific responsibilities. In order to complete an application workflow / a task, multiple MicroServices might have to work together. For example, an user would like to buy

MicroServices – How To Share DTO (Data Transfer Objects)Read More »

reactor hot publisher

Reactor Flux File Reading

Overview: In this tutorial, I would like to quickly show you Reactor Flux File Reading example. How we could access a file, read the content stream and close the file etc with Project Reactor – to properly consume and cleaning up resources. We have been discussing reactive programming in this blog for a while. There

Reactor Flux File ReadingRead More »

spring webflux webclient

Spring WebClient Example

Overview In this article, I would like to show you how we could use Spring WebClient for making non-blocking HTTP requests for various CRUD operations. Spring WebClient Spring WebFlux is a non-blocking asynchronous reactive web framework. It includes WebClient (something like RestTemplate) which provides fluent API for making HTTP requests in an asynchronous and non-blocking

Spring WebClient ExampleRead More »