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

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 »

Distributed Tracing In Microservices – Jaeger With Spring Boot

Overview: In this tutorial, I would like to show you how we could enable Distributed Tracing In Microservices by using Jaeger with Spring Boot. Distributed Tracing In Microservices: There is a quote that ‘Troubles do not come alone and they would like to arrive in group‘. So are Microservices! They do not come alone! We

Distributed Tracing In Microservices – Jaeger With Spring BootRead 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 »

spring webflux error handling

Spring WebFlux Error Handling

Overview: In this article, I would like to show you Spring WebFlux Error Handling using @ControllerAdvice. Spring WebFlux Error Handling: Developing Microservices is fun and easy with Spring Boot. But anything could go wrong in when multiple Microservices talk to each other. In case of some unhandled exceptions like 500 – Internal Server Error, Spring

Spring WebFlux Error HandlingRead 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 »

Materialized View PostgreSQL

Overview: In this tutorial, I would like to demo Materialized View PostgreSQL with Spring Boot  to increase the read performance of the application. Materialized View: Most of the web based applications are CRUD in nature with simple CREATE, READ, UPDATE and DELETE operations. It is also true that in the most of the applications, we

Materialized View PostgreSQLRead More »

Spring Boot S3 Integration – File Upload / Download

Overview: In this tutorial, I would like to demo Spring Boot S3 Integration & how we could upload/download files to/from a AWS S3 bucket easily! Spring Boot S3 Integration: Most of us are using AWS cloud for the Spring Boot applications. Often times we will also have requirements to access files to/from a S3 bucket.

Spring Boot S3 Integration – File Upload / DownloadRead More »

Kafka Stream With Spring Boot

Overview: In this tutorial, I would like to show you how to do real time data processing by using Kafka Stream With Spring Boot. Stream Processing: In the good old days, we used to collect data, store in a database and do nightly processing on the data. It is called batch processing! In this Microservices

Kafka Stream With Spring BootRead More »