Skip to content

Reference code Architecture for implementing ComplitableFuture and to demostrate Scatter-Gather Pattern

Notifications You must be signed in to change notification settings

shreejitpanchal/spring-boot-multithreading-scatter-gather-fanout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring MultiThreading Demo using Completable Future using REST HTTP interface

Author : Shreejit Panchal

Git Repo

[Git Repo Path] https://github.com/shreejitpanchal/spring-boot-multithreading-scatter-gather-fanout.

MultiThreading Asynchronous Patterns Covered in the Framework below:

1: FanOut Pattern

2: Scatter/Gather Pattern

--- FAN OUT PATTERN --- fanout.png

--- Scatter/Gather Pattern scattergather.png

Prerequisites

1: Enable Lombok before mvn clean, Please follow instructions to enable lombok in Intellij :: https://projectlombok.org/setup/intellij

3: Maven Steps for Build & Install below:

cd spring-boot-multithreading-scatter-gather-fanout
mvn clean install

Running the Samples

To try individual samples, go into the project directory and run the sample using maven.

cd spring-boot-multithreading-scatter-gather-fanout
mvn spring-boot:run

Setting up your preferred IDE

Using a modern Java IDE provides cool productivity features like auto-completion, on-the-fly compilation, assisted refactoring and debugging which can be useful when you're exploring the samples and even modifying the samples. Follow the steps below for your preferred IDE.

This repository uses Maven projects. If you would like to import the projects into your favorite IDE you should be able to import them as Maven Projects. For examples, in eclipse choose "File -> Import -> Maven -> Existing Maven Projects -> Next -> Browse for your repo -> Select which projects -> Click Finish"

License

This project is licensed under the Apache License, Version 2.0. - See the LICENSE file for details.

About

Reference code Architecture for implementing ComplitableFuture and to demostrate Scatter-Gather Pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages