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 […]

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 »

Spring Cloud Stream Kafka Binder

Overview: In this tutorial, I would like to show you passing messages between services using Kafka Stream with Spring Cloud Stream Kafka Binder. Spring Cloud Stream: Spring Cloud Stream is a framework for creating message-driven Microservices and It provides a connectivity to the message brokers. Something like Spring Data, with abstraction, we can produce/process/consume data

Spring Cloud Stream Kafka BinderRead More »

Spring Boot CockroachDB Integration

Overview: Applications have become very complex & user’s expectations have changed over the years! Applications nowadays have to be resilient and fault tolerant. It is easy to scale in / out our applications when they are designed stateless. But what about Database? Database is supposed to be a stateful application! How can we scale out

Spring Boot CockroachDB IntegrationRead 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 »

Redis Stream With Spring Boot

Overview: In this article, I would like to show Redis Stream With Spring Boot to demo how to implement real time stream processing. Redis: Redis was originally known as a REmote DIctionary Server for caching data. Along with Master/ReadReplication & Pub/Sub feature, Now Redis has added the support for Streams as well. Please take a look

Redis Stream With Spring BootRead More »

Java Reactive Programming – Combining Multiple Sources Of Flux / Mono

Overview: In this reactive programming series, Lets see how we could combine multiple sources of reactive streams. If you have not read the previous articles in these series, please take a look at them first in the below order. Reactive Programming – A Simple Introduction Reactive Programming – Creating Sequences – Flux vs Mono Reactive

Java Reactive Programming – Combining Multiple Sources Of Flux / MonoRead More »

reactor hot publisher

Reactor Schedulers – PublishOn vs SubscribeOn

Overview: In our Java Reactive Programming With Project Reactor series, in this article, Let’s discuss Reactor Schedulers & the difference between PublishOn vs SubscribeOn with some code samples. This is 5th article in the Reactive Programming series. Take a look at these articles if you have not read them before Reactive Programming – A Simple Introduction

Reactor Schedulers – PublishOn vs SubscribeOnRead More »