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

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 »

reactor hot publisher

Reactor Flux Create vs Generate

Overview: In this tutorial, I would like to show the difference between the Reactor Flux Create vs Generate with code samples. If you are new to Java Reactive Programming, please take a look at below articles to give you an idea. Reactive Programming – A Simple Introduction Mono vs Flux In Project Reactor Reactor Hot

Reactor Flux Create vs GenerateRead More »

reactor hot publisher

Reactor Hot Publisher vs Cold Publisher

Overview: In this tutorial, I would like to show the difference between the Reactor Hot Publisher vs Cold Publisher. If you are new to Java Reactive programming, you can take a look at these articles to give you an idea. Reactive Programming – A Simple Introduction Mono vs Flux In Project Reactor Reactor Hot Publisher

Reactor Hot Publisher vs Cold PublisherRead More »

reactor hot publisher

Mono vs Flux In Project Reactor

Overview: In this tutorial, we will learn more about Mono vs Flux in Project Reactor (Java Reactive Programming). If you have not read the previous article on introduction to reactive programming, then read that here. Java 8 – Optional vs Stream: Java, as part part of the release 8, had introduced stream and optional. Stream

Mono vs Flux In Project ReactorRead More »

Java Reactive Programming – Introduction Guide

Overview: Modern application technology has become very complex. Everything is connected to the internet. Even a Pressure cooker / Light Bulbs have apps & can be controlled via internet nowadays! Big monolithic applications are split into easily deployable, self-containing microservices. It has been a while since Microservices have become the trend! Microservices do have some

Java Reactive Programming – Introduction GuideRead More »